Skip to content

Commit

Permalink
Merge pull request #9 from nuwandi-is/samlId
Browse files Browse the repository at this point in the history
changed log to error from warn in the case of NoSuchAlgorithmException
  • Loading branch information
Pushpalanka Jayawardhana committed Apr 8, 2016
2 parents 33044cd + 8e5f275 commit a69bdce
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 a69bdce

Please sign in to comment.