Skip to content

Commit

Permalink
Catch Exception instead of Throwable
Browse files Browse the repository at this point in the history
  • Loading branch information
car031 committed Jan 14, 2025
1 parent 78246bd commit a44e876
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public void run() {
transactionId = UUID.randomUUID().toString();
if (isConcurrent() || (lockManager != null && lockManager.get(getName(), transactionId)))
runTask();
} catch (Throwable e) {
} catch (Exception e) {
log.error(e.getMessage(), e);
log.error("The task is stopped");
lastRunError = e;
Expand Down

0 comments on commit a44e876

Please sign in to comment.