mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-29 10:56:35 +08:00
feat: sql解析器替换、工单统一由‘我的流程’发起、流程定义支持自定义条件触发审批、资源隐藏编号、model支持物理删除等
This commit is contained in:
@@ -83,7 +83,7 @@ func LogHandler(rc *Ctx) error {
|
||||
}
|
||||
attrMap["error"] = rc.Err
|
||||
// 跳过log_handler等相关堆栈
|
||||
attrMap["stacktrace"] = runtimex.StatckStr(5, nFrames)
|
||||
attrMap["stacktrace"] = runtimex.StackStr(5, nFrames)
|
||||
}
|
||||
} else {
|
||||
// 处理文本格式日志信息
|
||||
@@ -134,6 +134,6 @@ func getErrMsg(rc *Ctx, err any) string {
|
||||
errMsg = fmt.Sprintf("\n<-e errMsg: %s", t)
|
||||
}
|
||||
// 加上堆栈信息
|
||||
errMsg += fmt.Sprintf("\n<-stacktrace: %s", runtimex.StatckStr(5, nFrames))
|
||||
errMsg += fmt.Sprintf("\n<-stacktrace: %s", runtimex.StackStr(5, nFrames))
|
||||
return (msg + errMsg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user