Skip to content

Commit

Permalink
Update SCIMUserManager.java
Browse files Browse the repository at this point in the history
  • Loading branch information
kayathiri4 authored Feb 29, 2024
1 parent 93e40bb commit ef3278b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1123,8 +1123,7 @@ public User updateUser(User user, Map<String, Boolean> requiredAttributes) throw
}
return getUser(user.getId(), requiredAttributes);
} catch (UserStoreClientException e) {
String errorMessage = "Error while updating attributes of user. " + (LoggerUtils.isLogMaskingEnable ?
LoggerUtils.getMaskedContent(user.getUserName()) : user.getUserName());
String errorMessage = String.format("Error while updating attributes of user. %s", e.getMessage());
if (log.isDebugEnabled()) {
log.debug(errorMessage, e);
}
Expand Down

0 comments on commit ef3278b

Please sign in to comment.