Skip to content

Commit

Permalink
Catch Throwable instead of Exception. (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
noordawod authored Jan 6, 2025
1 parent e7490ed commit 59309e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public static <T> T callInTransaction(final DatabaseConnection connection, boole
}
}
return result;
} catch (Exception e) {
} catch (Throwable e) {
if (levelCount != null && levelCount.decrementAndGet() <= 0) {
transactionLevelThreadLocal.remove();
}
Expand Down

0 comments on commit 59309e5

Please sign in to comment.