summaryrefslogtreecommitdiff
path: root/recover.go
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-28 19:32:33 +0300
committerAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-28 19:32:33 +0300
commit18a9096684ab0b1468a08d442d38b7b675d94810 (patch)
tree16e335e56ac0bf7986c3fbcd924f2ac0e00106f8 /recover.go
parent25160ef84704c0f4ef6e8c6cf2e282e216701139 (diff)
Session middlewareHEADmaster
Diffstat (limited to 'recover.go')
-rw-r--r--recover.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/recover.go b/recover.go
index 6b5f2cb..a962b90 100644
--- a/recover.go
+++ b/recover.go
@@ -2,7 +2,6 @@ package middleware
import (
"net/http"
- "runtime/debug"
"log/slog"
)
@@ -15,7 +14,6 @@ func Recover(logger *slog.Logger) Middleware {
if err == nil {
return
}
- debug.PrintStack()
requestID := GetRequestID(r)
logger.ErrorContext(
r.Context(),