0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 11:44:39 +01:00
gitea/services/gitdiff
zeripath 46782d53bc
Place wrapper around comment as diff to catch panics (#15085)
There are a few recurrent issues with comment as diff reporting panics that are resistant to fixing due to the fact that the panic occurs in the template render and is swallowed by the template renderer.

This PR just adds some logging to force the panic to properly logged and re-propagates back up to the template renderer so we can actually detect what the issue is.

Signed-off-by: Andrew Thornton art27@cantab.net
2021-03-21 16:59:58 +00:00
..
testdata/academic-module
gitdiff.go
gitdiff_test.go
main_test.go