rickchengx commented on code in PR #13887:
URL:
https://github.com/apache/dolphinscheduler/pull/13887#discussion_r1163659286
##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/enums/Status.java:
##########
@@ -293,6 +293,7 @@ public enum Status {
RESOURCE_HAS_FOLDER(20018, "There are files or folders in the current
directory:{0}", "当前目录下有文件或文件夹[{0}]"),
REMOVE_TASK_INSTANCE_CACHE_ERROR(20019, "remove task instance cache
error", "删除任务实例缓存错误"),
+ TASK_RESOURCE_NOT_EXIST(20020, "Task {0} contains removed resource",
"任务[{0}]含有被删除的资源文件"),
Review Comment:
Maybe it's better to return the resource doesn't exist
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]