aboutsummaryrefslogtreecommitdiffstats
path: root/routers/common/errpage.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/common/errpage.go')
-rw-r--r--routers/common/errpage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/common/errpage.go b/routers/common/errpage.go
index 4cf3bf8357..3d82c96deb 100644
--- a/routers/common/errpage.go
+++ b/routers/common/errpage.go
@@ -26,7 +26,7 @@ func RenderPanicErrorPage(w http.ResponseWriter, req *http.Request, err any) {
defer func() {
if err := recover(); err != nil {
- log.Error("Panic occurs again when rendering error page: %v", err)
+ log.Error("Panic occurs again when rendering error page: %v. Stack:\n%s", err, log.Stack(2))
}
}()