Skip to content

Commit e7f62f5

Browse files
committed
Catch "Incompatible version of libocijdbc" Error when trying to connect via thick driver
1 parent 79d69ff commit e7f62f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/utplsql/cli/datasource/TestedDataSourceProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private void setThickOrThinJdbcUrl(OracleDataSource ds) throws SQLException {
5858
try (Connection ignored = ds.getConnection()) {
5959
logger.info("Use connection string {}", possibility.getMaskedConnectString(config));
6060
return;
61-
} catch (UnsatisfiedLinkError | Exception e) {
61+
} catch (Error | Exception e) {
6262
errors.add(possibility.getMaskedConnectString(config) + ": " + e.getMessage());
6363
lastException = e;
6464
}

0 commit comments

Comments
 (0)