diff --git a/middleware/recover.go b/middleware/recover.go index 2c563ea..9db7f31 100644 --- a/middleware/recover.go +++ b/middleware/recover.go @@ -17,7 +17,7 @@ func Recover(c http.Context) { defer func() { // grab any panic occurring if r := recover(); r != nil { - m := log.Map{"msg": debug.GetStackTraceInString(1)} + m := log.Map{"panic": "error panic recovered", "msg": debug.GetStackTraceInString(1)} log.Runtime(c).Error(m) prefixMsg := "Runtime Error - "