Commit ac0c144b by 孙龙

up

parent c1c73896
Showing with 1 additions and 1 deletions
......@@ -15,7 +15,7 @@ func RecoveryMiddleware() gin.HandlerFunc {
defer func() {
if err := recover(); err != nil {
//先做一下日志记录
//fmt.Println(err)
fmt.Println(err)
//util.ComLogNotice(c, "_com_panic", map[string]interface{}{
// "error": fmt.Sprint(err),
// "stack": string(debug.Stack()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment