Skip to content

Commit

Permalink
[HOPS-1121] Remove DB connect information from the exception
Browse files Browse the repository at this point in the history
  • Loading branch information
smkniazi authored and berthoug committed Mar 7, 2019
1 parent 1a0fe7e commit 5f3e6cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/io/hops/metadata/ndb/NdbStorageFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ public void setConfiguration(Properties conf)
MysqlServerConnector.getInstance().setConfiguration(conf);
initDataAccessMap();
} catch (IOException ex) {
throw new StorageInitializtionException(ex);
//ClusterJ dumps username and password in the exception
throw new StorageInitializtionException("Error getting connection to cluster");
}
}

Expand Down

0 comments on commit 5f3e6cb

Please sign in to comment.