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

improve error handling for lookup user #142

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

jxjj
Copy link
Contributor

@jxjj jxjj commented Apr 3, 2024

ScreenShot 2024-04-03 at 13 26 57@2x

Previously, when Find User fails, the axios interceptor would display a 500 error modal.

This:

  • disables "Find User" button when input is empty
  • returns 404 instead of 500 when user(s) not found
  • skips axios error notification interceptor so that we can manually handle error
  • fix error message

resolves #119

on dev for testing

- disable "Find User" when input is empty
- return 404 instead of 500 when not found
- skip axios error notification interceptor and manually handle error
- fix error message
@jxjj jxjj requested a review from cmcfadden April 3, 2024 18:31
@jxjj jxjj self-assigned this Apr 3, 2024
@jxjj jxjj merged commit e4db731 into develop Apr 3, 2024
2 checks passed
@jxjj jxjj deleted the feature/119-user-lookup-error-handling branch April 3, 2024 18:49
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.

User Lookup needs better error handling when user not found
2 participants