gitea/modules/webhook
zeripath 4a04740daf
Handle panics that percolate up to the graceful module ()
* Handle panics in graceful goroutines

Adds a some deferred functions to handle panics in graceful goroutines

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Handle panic in webhook.Deliver

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Handle panic in mirror.syncMirror

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
..
deliver.go Handle panics that percolate up to the graceful module ()
deliver_test.go Webhook support custom proxy ()
dingtalk.go Granular webhook events ()
dingtalk_test.go Refactor webhooks to reduce code duplication ()
discord.go Granular webhook events ()
feishu.go Granular webhook events ()
general.go Only show sender if it makes sense ()
general_test.go Refactor webhooks to reduce code duplication ()
main_test.go Move webhook to a standalone package under modules ()
matrix.go Add Matrix webhook ()
matrix_test.go Add Matrix webhook ()
msteams.go Granular webhook events ()
slack.go Fix ref links in issue overviews for tags ()
slack_test.go Only show sender if it makes sense ()
telegram.go Granular webhook events ()
telegram_test.go Refactor webhooks to reduce code duplication ()
webhook.go Add Matrix webhook ()
webhook_test.go Move more webhook codes from models to webhook module ()