Skip to content

Commit

Permalink
Add better error message for undefined errors
Browse files Browse the repository at this point in the history
  • Loading branch information
StarDylan committed Oct 22, 2024
1 parent 0cccb3c commit 3e2e93a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/femr/business/services/system/UserService.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public ServiceResponse<UserItem> createUser(UserItem user, String password, int
newUser = userRepository.createUser(newUser);
response.setResponseObject(itemModelMapper.createUserItem(newUser));
} catch (Exception ex) {
response.addError("", ex.getMessage());
response.addError("error creating user", ex.getMessage());
}


Expand Down

0 comments on commit 3e2e93a

Please sign in to comment.