1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-02-07 11:36:25 +02:00

Grab more stacktrace lines in panic handler

This commit is contained in:
DarthSim 2022-04-11 15:42:11 +06:00
parent b243a08254
commit 46ba726af0

View File

@ -128,7 +128,7 @@ func withPanicHandler(h router.RouteHandler) router.RouteHandler {
panic(rerr)
}
ierr := ierrors.Wrap(err, 3)
ierr := ierrors.Wrap(err, 2)
if ierr.Unexpected {
errorreport.Report(err, r)