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

This commit is contained in:
Wenjun Ruan 2022-08-13 22:01:39 +08:00 committed by GitHub
parent 05589606a2
commit 4362fb8448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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