fix: fixed panic handler mw

This commit is contained in:
abelith committed 2026-10-06 14:13:43 +03:00
1 parent 5f65f6c506
commit 9d7a6a46c9
1 file changed
+1 -1
+1 -1
View File
@@ -15,7 +15,7 @@ func MwPanicHandler() core.Middleware {
defer func() {
p := recover()
if p != nil {
log.Fatal().Any("panic", p)
log.Fatal().Any("panic", p).Send()
}
}()
return next(c)