Closed v-kkhuang closed 3 weeks ago
We are glad that you are contributing by opening this issue.
Please make sure to include all the relevant context. We will be here shortly.
If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.
WeChat Assistant | WeChat Public Account |
---|---|
![]() |
![]() |
Name | Description | Subscribe | Unsubscribe | Archive |
---|---|---|---|---|
dev@linkis.apache.org | community activity information | subscribe | unsubscribe | archive |
需求背景
部分错误信息未匹配到错误码,根据特定场景新增错误码
目标
1.错误码:43016
2.新增错误码:43017
3.新增错误码:43018
4.优化错误码匹配:21001
处理方案
1.错误码:43016 提示语:[模块 'xxxx' 没有属性 'xxxxx',请确认代码引用是否正常] 匹配正则:[AttributeError: '(\S+)' object has no attribute '(\S+)'] 2.错误码:43017 提示语:[存在参数无效或拼写错误,请确认 %s 参数正确性] 匹配正则:[KeyError: ((.+))] 3.错误码:43018 提示语:[ 文件地址( xxxx )错误,请确认路径是否存在] 匹配正则:[FileNotFoundError.*No such file or directory\:\s'(\S+)'] 4.错误码:21001
更改前:User (\S+) cannot submit applications to queue (\S+) 更改后:User (\S+) cannot submit applications to queue (\S+?)(?=\)
Requirement background
Some error messages did not match the error code, new error codes will be added based on specific scenarios
Goal
Processing plan