gitea/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 Support Range header end in lfs (#11314) 2020-05-11 11:37:59 +03:00
log
markup Prevent 500 with badly formed task list (#11328) 2020-05-11 00:14:49 +01:00
metrics
migrations Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
notification Add NotifySyncPushCommits to indexer notifier (#11309) 2020-05-08 15:58:40 +01:00
options
password
pprof
private
process
public
queue Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
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 Move LFS directory creation out of NewContext (#11362) 2020-05-10 16:30:46 +03:00
ssh
structs
sync
task
templates
test
timeutil
upload
user
util Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
validation
webhook Handle panics that percolate up to the graceful module (#11291) 2020-05-14 20:06:00 -04:00