Просмотр исходного кода

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

Wenjun Ruan 2 лет назад
Родитель
Сommit
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;
         }
-        throw new StateEventHandleException(
+        throw new StateEventHandleError(
                 "Task state event handle error, due to the task is not in activeTaskProcessorMaps");
     }