-
Notifications
You must be signed in to change notification settings - Fork 288
Open
Labels
ai-mediumModerate reasoning or multi-step tasks; some domain knowledge.Moderate reasoning or multi-step tasks; some domain knowledge.kind/refactorCode refactorCode refactorpriority/p0Critical feature that should be implemented in this versionCritical feature that should be implemented in this version
Milestone
Description
Why do you want to refactor this code?
整理 MO 的日志逻辑和内容,至少把错误级别的日志统一管理起来,可以形成文档,包括 error code、原因和解决方案。目标是能够让客户自己通过关键字搜索,能快速定位到直接的问题,如果客户能解决就直接解决掉,解决不掉再由研发介入。Describe the solution you'd like
- 至少整理错误级别的日志,通过关键字能过滤出 error code 和错误日志
- 去掉不必要的日志信息
- 建议去掉 InternalError 错误类型,否则错误信息非常混乱
- 新的 PR 提交时,通过 statics 规则限制,不允许直接写 error message,只能通过 mo error code 方式加错误日志
Describe alternatives you've considered
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
ai-mediumModerate reasoning or multi-step tasks; some domain knowledge.Moderate reasoning or multi-step tasks; some domain knowledge.kind/refactorCode refactorCode refactorpriority/p0Critical feature that should be implemented in this versionCritical feature that should be implemented in this version