Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: display error message from backend on Users page #1938

Merged
merged 1 commit into from
Jun 1, 2022

Conversation

presleyp
Copy link
Contributor

@presleyp presleyp commented Jun 1, 2022

Fixes #1932
I went ahead and fixed it for all the errors in this XService, but let me know if any shouldn't work this way for any reason @Emyrk

@presleyp presleyp requested a review from a team as a code owner June 1, 2022 01:29
Copy link
Member

@kylecarbs kylecarbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neato. I like how getErrorMessage is implemented. It's nice and separated from the API layer 😎

@presleyp presleyp merged commit 2878346 into main Jun 1, 2022
@presleyp presleyp deleted the role-error/presleyp/1932 branch June 1, 2022 13:10
kylecarbs pushed a commit that referenced this pull request Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Changing role error is not specific to backend error
2 participants