Skip to content

Commit

Permalink
changed log to error from warn in the case of NoSuchAlgorithmException
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwandiw committed Apr 8, 2016
1 parent 33044cd commit 8e5f275
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,8 @@ public static String createID() {
SecureRandomIdentifierGenerator generator = new SecureRandomIdentifierGenerator();
return generator.generateIdentifier();
} catch (NoSuchAlgorithmException e) {
log.warn("Error while building Secure Random ID");
log.error("Error while building Secure Random ID", e);
//TODO : throw exception and break the flow
}
return null;

Expand Down

0 comments on commit 8e5f275

Please sign in to comment.