Skip to content

Commit

Permalink
update error coode
Browse files Browse the repository at this point in the history
  • Loading branch information
v-kkhuang committed Sep 27, 2023
1 parent 19b509e commit 63e8810
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions linkis-dist/package/db/linkis_dml.sql
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,9 @@ INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type)
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('43013','索引使用错误','IndexError',0);
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('43014','sql语法有问题','raise ParseException',0);
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('43015','当前节点需要的CS表解析失败,请检查当前CSID对应的CS表是否存在','Cannot parse cs table for node',0);
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('43016','模块 %s 没有属性 %s ,请确认代码引用是否正常','AttributeError: '(\\S+)' object has no attribute '(\\S+)'',0);
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('43017','方法参数错误,请检查代码是否正确','KeyError: \\(+.*\\)',0);
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('43018','文件地址错误,文件地址:%s','FileNotFountError.*No such file or directory\\:\\s'(\\S+)'',0);

-- 46 importExport
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('46001','找不到导入文件地址:%s','java.io.FileNotFoundException: (\\S+) \\(No such file or directory\\)',0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,6 @@ INSERT INTO `linkis_ps_configuration_config_value` (`config_key_id`, `config_val

UPDATE linkis_ps_error_code SET error_regex = "User (\\S+) cannot submit applications to queue (\\S+?)(?=\\))" WHERE error_code = "21001";

INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('43016','模块 %s 没有属性 %s ,请确认代码引用是否正常','AttributeError: '(\\S+)' object has no attribute '(\\S+)'',0);
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('43017','方法参数错误,请检查代码是否正确','KeyError: \\(+.*\\)',0);
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('43018','文件地址错误,文件地址:%s','FileNotFountError.*No such file or directory\\:\\s'(\\S+)'',0);

0 comments on commit 63e8810

Please sign in to comment.