You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Error code: 43016
New error code: 43017
New error code: 43018
Optimize error code matching: 21001
Processing plan
Error code: 43016 Prompt: [Module 'xxxx' does not have attribute 'xxxxx', please confirm if the code reference is normal] Matching regular: [AttributeError: '( S+)' object has no attribute '( S+)']
Error code: 43017 Prompt: [There are invalid parameters or spelling errors, please confirm the correctness of the% s parameters] Matching regular: [KeyError: ( (.+))]
Error code: 43018 Prompt: [File address (xxxx) error, please confirm if the path exists] Matching regular: [FileNotFoundError. * No such file or
Error code: 21001
Before making changes: User ( S+) cannot submit applications to queue ( S+)
After change: User ( S+) cannot submit applications to queue ( S+?) (?= )
The text was updated successfully, but these errors were encountered:
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
👉 How to Participate in Project Contribution.
需求背景
部分错误信息未匹配到错误码,根据特定场景新增错误码
目标
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
Before making changes: User ( S+) cannot submit applications to queue ( S+)
After change: User ( S+) cannot submit applications to queue ( S+?) (?= )
The text was updated successfully, but these errors were encountered: