-
Notifications
You must be signed in to change notification settings - Fork 4
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
Implement Error Handling for API Calls in Frontend #86
Labels
enhancement
New feature or request
front
Issues related to Web UI
good first issue
Good for newcomers
Comments
OhmSpectator
added
enhancement
New feature or request
good first issue
Good for newcomers
front
Issues related to Web UI
labels
Nov 26, 2023
OhmSpectator
changed the title
Implement Comprehensive Error Handling for API Calls in Frontend
Implement Error Handling for API Calls in Frontend
Nov 26, 2023
Sometimes I return empty values ([], null), and sometimes I throw an error. I have to stick to one approach. |
@OhmSpectator I can give this a shot |
@pbelokon sure! |
Thanks ! |
7 tasks
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
front
Issues related to Web UI
good first issue
Good for newcomers
Description
Currently, our frontend components make several API calls without a consistent error handling strategy. This can lead to unhandled exceptions and a poor user experience when network requests fail or return unexpected results. We need to develop and implement a robust error handling mechanism across all components that interact with the API.
Scope
Acceptance Criteria
.catch()
to handle errors.Out of Scope
Notes
The text was updated successfully, but these errors were encountered: