Skip to content

Commit 66705cb

Browse files
committed
Set task
1 parent 2eb3b46 commit 66705cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doma-spring-boot-core/src/main/java/org/seasar/doma/boot/DomaPersistenceExceptionTranslator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public DataAccessException translateExceptionIfPossible(RuntimeException ex) {
7979
sql = ((SqlExecutionException) ex).getRawSql();
8080
}
8181
DataAccessException dae = translator.translate(ex.getMessage(), sql, e);
82-
return (dae != null ? dae : new UncategorizedSQLException("", sql, e));
82+
return (dae != null ? dae : new UncategorizedSQLException(ex.getMessage(), sql, e));
8383
}
8484

8585
return new UncategorizedDataAccessException(ex.getMessage(), ex) {

0 commit comments

Comments
 (0)