mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-08 09:31:26 +08:00
完善错误监控详情
This commit is contained in:
@@ -202,6 +202,7 @@ func CheckMysqlErr(err error) (e error) {
|
||||
default:
|
||||
// 处理其他错误
|
||||
core.Logger.WithOptions(zap.AddCallerSkip(1)).Errorf("未知错误: err=[%+v]", err)
|
||||
return err
|
||||
}
|
||||
}
|
||||
return
|
||||
|
Reference in New Issue
Block a user