Skip to content

Commit cacd8da

Browse files
author
VladislavBakshanskij
committed
added concurrent test for spring
1 parent 86378f8 commit cacd8da

File tree

1 file changed

+1
-1
lines changed
  • transactionoutbox-core/src/main/java/com/gruelbox/transactionoutbox/spi

1 file changed

+1
-1
lines changed

transactionoutbox-core/src/main/java/com/gruelbox/transactionoutbox/spi/Utils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static boolean safelyRun(String gerund, ThrowingRunnable runnable) {
2525
}
2626
}
2727

28-
public static boolean indexViolation(Exception e) {
28+
public static boolean indexViolation(Throwable e) {
2929
return (e instanceof SQLIntegrityConstraintViolationException)
3030
|| (e.getClass().getName().equals("org.postgresql.util.PSQLException")
3131
&& e.getMessage().contains("constraint"))

0 commit comments

Comments
 (0)