You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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
3 years ago
..
testdata/academic-module Fix panic when diff (#9187) 5 years ago
gitdiff.go Place wrapper around comment as diff to catch panics (#15085) 3 years ago
gitdiff_test.go Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
main_test.go Move git diff codes from models to services/gitdiff (#7889) 5 years ago