Skip to content

Commit

Permalink
[feat] bessere Fehlermeldung in DataBaseClient
Browse files Browse the repository at this point in the history
besonders praktisch für Ändern von DataBase in Toolbox
  • Loading branch information
joshuajeschek committed Dec 27, 2021
1 parent 74490ea commit 9760169
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public DataBaseClient(String url, String user, String password, String schema) {
conn = DriverManager.getConnection(url, props);
} catch (SQLException e) {
Logger.info("Couldn't connect to server", e);
throw new InvalidParameterException("Couldn't connect to server");
throw new InvalidParameterException("Couldn't connect to server: " + e.toString());
} finally {
Util.closeQuietly(conn);
}
Expand Down

0 comments on commit 9760169

Please sign in to comment.