[jOOQ/jOOQ#14833] Version support check shouldn't log error message for MockConnection
This commit is contained in:
parent
a908ff7532
commit
7308d08ed7
@ -645,6 +645,11 @@ class DefaultExecuteContext implements ExecuteContext {
|
||||
logVersionSupport.info("Version", "Database version is supported by dialect " + dialect() + ": " + productVersion);
|
||||
}
|
||||
|
||||
// [#14833] There are various reasons why the version can't be read, which we can ignore
|
||||
catch (SQLException e) {
|
||||
logVersionSupport.info("Version", "Database version cannot be read: " + e.getMessage());
|
||||
}
|
||||
|
||||
// [#14791] Could also be NumberFormatException when reading non-standard version numbers
|
||||
catch (Exception e) {
|
||||
logVersionSupport.error("Error reading database version", e);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user