fix: fixed panic handler mw
This commit is contained in:
1 parent
5f65f6c506
commit
9d7a6a46c9
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user