Parcourir la source

Grab more stacktrace lines in panic handler

DarthSim il y a 3 ans
Parent
commit
46ba726af0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      server.go

+ 1 - 1
server.go

@@ -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)