forgejo/modules
zeripath 4a04740daf
Handle panics that percolate up to the graceful module (#11291)
* 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>
2020-05-14 20:06:00 -04:00
..
analyze
auth
avatar
base
cache
charset
context
convert Refactor Milestone related (#11225) 2020-05-12 22:54:35 +01:00
cron
emoji
eventsource
generate
git Fix ref links in issue overviews for tags (#8742) 2020-05-14 18:55:43 -04:00
gitgraph
graceful Handle panics that percolate up to the graceful module (#11291) 2020-05-14 20:06:00 -04:00
highlight
httplib
indexer
lfs
log
markup
metrics
migrations
notification
options
password
pprof
private
process
public
queue
recaptcha
references
repofiles Revert "Avoid 0 new commits messages to be send (#11082)" (#11397) 2020-05-13 10:50:56 +03:00
repository
secret
session
setting
ssh
structs
sync
task
templates
test
timeutil
upload
user
util
validation
webhook Handle panics that percolate up to the graceful module (#11291) 2020-05-14 20:06:00 -04:00