Skip to content

Commit 7ba6418

Browse files
committed
#19 NPE - NullPointerException ConnectionPool.notifyDataSourceIsDown(ConnectionPool.java:406)
Fix for issue introduced by #18
1 parent 6c1152f commit 7ba6418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ private synchronized void notifyDataSourceIsDown(SQLException ex) {
403403
}
404404
if (!dataSourceDownAlertSent) {
405405
dataSourceDownAlertSent = true;
406-
logger.error("FATAL: DataSourcePool [" + name + "] is down or has network error!!! message:" + ex.getMessage(), ex);
406+
logger.error("FATAL: DataSourcePool [" + name + "] is down or has network error!!!", ex);
407407
if (notify != null) {
408408
notify.dataSourceDown(this, ex);
409409
}

0 commit comments

Comments
 (0)