Skip to content

Commit 9c1daed

Browse files
pesseSamuel Nitsche
authored andcommitted
Include original error reason when Compatibility-check fails
1 parent c73ccab commit 9c1daed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/utplsql/api/DBHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public static void failOnVersionCompatibilityCheckFailed( Connection conn ) thro
113113
}
114114
catch ( SQLException e )
115115
{
116-
throw new DatabaseNotCompatibleException("Compatibility-check failed with error. Aborting.", UTPLSQL_COMPATIBILITY_VERSION, "Unknown", e);
116+
throw new DatabaseNotCompatibleException("Compatibility-check failed with error. Aborting. Reason: " + e.getMessage(), UTPLSQL_COMPATIBILITY_VERSION, "Unknown", e);
117117
}
118118
}
119119

0 commit comments

Comments
 (0)