From 18a9096684ab0b1468a08d442d38b7b675d94810 Mon Sep 17 00:00:00 2001 From: Alexander NeonXP Kiryukhin Date: Sun, 28 Jul 2024 19:32:33 +0300 Subject: Session middleware --- recover.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'recover.go') 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(), -- cgit v1.2.3