Skip to content

Commit 3f65b85

Browse files
KSH-codejhoeller
authored andcommitted
Increase log level to error
1 parent 50074f0 commit 3f65b85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-tx/src/main/java/org/springframework/transaction/support/TransactionSynchronizationUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public static void triggerBeforeCompletion() {
108108
synchronization.beforeCompletion();
109109
}
110110
catch (Throwable ex) {
111-
logger.debug("TransactionSynchronization.beforeCompletion threw exception", ex);
111+
logger.error("TransactionSynchronization.beforeCompletion threw exception", ex);
112112
}
113113
}
114114
}
@@ -172,7 +172,7 @@ public static void invokeAfterCompletion(@Nullable List<TransactionSynchronizati
172172
synchronization.afterCompletion(completionStatus);
173173
}
174174
catch (Throwable ex) {
175-
logger.debug("TransactionSynchronization.afterCompletion threw exception", ex);
175+
logger.error("TransactionSynchronization.afterCompletion threw exception", ex);
176176
}
177177
}
178178
}

0 commit comments

Comments
 (0)