Quellcode durchsuchen

If the task processor is not found need to throw error rather than exception (#11461)

Wenjun Ruan vor 2 Jahren
Ursprung
Commit
4362fb8448

+ 1 - 1
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskStateEventHandler.java

@@ -82,7 +82,7 @@ public class TaskStateEventHandler implements StateEventHandler {
             }
             }
             return true;
             return true;
         }
         }
-        throw new StateEventHandleException(
+        throw new StateEventHandleError(
                 "Task state event handle error, due to the task is not in activeTaskProcessorMaps");
                 "Task state event handle error, due to the task is not in activeTaskProcessorMaps");
     }
     }