Browse Source

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

3.1.0-release
Wenjun Ruan 2 years ago committed by GitHub
parent
commit
4362fb8448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskStateEventHandler.java

2
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");
}

Loading…
Cancel
Save