Skip to content

chore: ui error handling should be specific to general #14346

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

Merged
merged 6 commits into from
Aug 19, 2024

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Aug 19, 2024

Specific errors should be checked before defaulting to a general error handling.

I noticed the error details were not being shown in my manual testing. We should check for axios error before defaulting to a general string.

Specific errors should be checked before defaulting to a general
error handling
Copy link

alwaysmeticulous bot commented Aug 19, 2024

✅ Meticulous spotted zero visual differences across 1477 screens tested: view results.

Meticulous tested 100% of the executable lines edited in this PR.

Expected differences? Click here. Last updated for commit 1b39235. This comment will update as new commits are pushed.

@Emyrk Emyrk requested review from aslilac and BrunoQuaresma August 19, 2024 14:56
Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma left a comment

Choose a reason for hiding this comment

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

Do you think you could add a test for this?

@Emyrk
Copy link
Member Author

Emyrk commented Aug 19, 2024

Do you think you could add a test for this?

Added a story book 👍

Copy link
Member

@aslilac aslilac left a comment

Choose a reason for hiding this comment

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

thanks for the test!

@Emyrk Emyrk merged commit 755afa3 into main Aug 19, 2024
29 checks passed
@Emyrk Emyrk deleted the stevenmasley/ui_error_display branch August 19, 2024 18:28
@github-actions github-actions bot locked and limited conversation to collaborators Aug 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants