Skip to content

Commit

Permalink
fix(jans-auth-server): reduce noise in logs when session can't be found
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriyz committed Mar 7, 2022
1 parent abc89dc commit 47afc47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ public SessionId getSessionByDn(@Nullable String dn, boolean silently) {
return sessionId;
} catch (Exception e) {
if (!silently) {
log.error("Failed to get session by dn: " + dn, e);
log.error("Failed to get session by dn: " + dn + ". " + e.getMessage());
}
}
return null;
Expand Down

0 comments on commit 47afc47

Please sign in to comment.