Update lib/taskana-core/src/main/java/pro/taskana/task/internal/TaskServiceImpl.java

Co-authored-by: Mustapha Zorgati <15628173+mustaphazorgati@users.noreply.github.com>
This commit is contained in:
Luis Rivas 2023-03-22 12:29:03 -05:00 committed by Alex
parent d13b3542f0
commit e3489ba3ec
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ public class TaskServiceImpl implements TaskService {
InvalidOwnerException
try {
return this.cancelClaim(taskId, true);
} catch (NotAuthorizedOnWorkbasketException e) {
} catch (InvalidOwnerException e) {
throw new SystemException(
"this should not have happened. You've discovered a new bug!", e);
}