Skip to content

Commit

Permalink
Merge pull request #3033 from hessjcg/hessjcg-patch-1
Browse files Browse the repository at this point in the history
Improve connection exception by including underlying driver exception trace
  • Loading branch information
nvoxland committed Jul 12, 2022
2 parents 6f1717f + c8066a7 commit 13fea61
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -88,7 +88,7 @@ public void open(String url, Driver driverObject, Properties driverProperties) t
if (driverClassName.equals("org.h2.Driver")) {
errorMessage += ". Make sure your H2 database is active and accessible by opening a new terminal window, run \"liquibase init start-h2\", and then return to this terminal window to run commands";
}
throw new DatabaseException(errorMessage + ". " + sqle.getMessage());
throw new DatabaseException(errorMessage + ". " + sqle.getMessage(), sqle);
}
}

Expand Down

0 comments on commit 13fea61

Please sign in to comment.