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

(cherry picked from commit 4362fb8448)
This commit is contained in:
Wenjun Ruan 2022-09-17 18:25:11 +08:00 committed by GitHub
parent 41a6d09c4f
commit 84876b9f15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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