summaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-08-23 20:40:59 +0100
committerGitHub <noreply@github.com>2021-08-23 20:40:59 +0100
commit73defbbd1c070930563f17daa9e540c44a127928 (patch)
tree30bd32b42eac15bd8bf074b57ae98a91b8912edc /integrations
parent94f529af02e74f5d13fefda48d3ef9db4559f71f (diff)
downloadgitea-73defbbd1c070930563f17daa9e540c44a127928.tar.gz
gitea-73defbbd1c070930563f17daa9e540c44a127928.zip
Ensure that template compilation panics are sent to the logs (#16788)
Although panics within the rendering pipeline are caught and dealt with, panics that occur before that starts are unprotected and will kill Gitea without being sent to the logs. This PR adds a basic recovery handler to catch panics that occur after the logger is initialised and ensure that they're sent to the logger. Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'integrations')
0 files changed, 0 insertions, 0 deletions