Skip to content

Commit

Permalink
Improve debug log.
Browse files Browse the repository at this point in the history
  • Loading branch information
JeethJJ committed Dec 13, 2023
1 parent c3fb961 commit 9c790f4
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,7 @@ private boolean isExistingUser(User user) throws IdentityRecoveryException {
.addDomainToName(user.getUserName(), user.getUserStoreDomain());
if (!userStoreManager.isExistingUser(domainQualifiedUsername)) {
if (LOG.isDebugEnabled()) {
String username = user.toFullQualifiedUsername();
if (username != null) {
LOG.debug("No user found for recovery with username: " + username);
} else {
LOG.debug("No user found for recovery.");
}
LOG.debug("No user found for provided username");
}
return false;
}
Expand Down

0 comments on commit 9c790f4

Please sign in to comment.