Skip to content

Commit d1eb01e

Browse files
committed
#40 - When connection fails on startup log include the username and url of the connection
1 parent ef94315 commit d1eb01e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ebean-datasource/src/main/java/io/ebean/datasource/pool/ConnectionPool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public ConnectionPool(String name, DataSourceConfig params) {
247247
initialise();
248248
}
249249
} catch (SQLException e) {
250-
throw new DataSourceInitialiseException("Error initialising DataSource: " + e.getMessage(), e);
250+
throw new DataSourceInitialiseException("Error initialising DataSource with user: " + un + " url:" + url + " error:" + e.getMessage(), e);
251251
}
252252
}
253253

0 commit comments

Comments
 (0)