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 Migrate to go-enry new version (#10906) 2020-04-15 20:40:39 +03:00
auth Add option to increase provided OAuth2 token maximum size (#11180) 2020-04-23 00:47:23 +02:00
avatar
base
cache
charset
context api.Context.NotFound(...) should tolerate nil (#11288) 2020-05-05 21:52:13 +03:00
convert Refactor Milestone related (#11225) 2020-05-12 22:54:35 +01:00
cron
emoji Support unicode emojis and remove emojify.js (#11032) 2020-04-28 15:05:39 -03:00
eventsource Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
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 Log the indexer path on failure (#11172) 2020-04-22 16:16:58 -04:00
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 Send 404 immediately for known public requests (#11117) 2020-04-18 22:01:06 +01:00
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 Fix forked repo has no icon and language stat. (#10791) 2020-04-08 15:13:04 +03:00
secret
session
setting Move LFS directory creation out of NewContext (#11362) 2020-05-10 16:30:46 +03:00
ssh
structs API: Add pull review endpoints (#11224) 2020-05-02 03:20:51 +03:00
sync
task
templates Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
test
timeutil
upload
user
util Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
validation [API] Get a single commit via Ref (#10915) 2020-04-07 22:54:46 -04:00
webhook Handle panics that percolate up to the graceful module (#11291) 2020-05-14 20:06:00 -04:00