Sfoglia il codice sorgente

Grab more stacktrace lines in panic handler

DarthSim 3 anni fa
parent
commit
46ba726af0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)