Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Make frontend api calls fail gracefully. #32

Open
aviraljain99 opened this issue Apr 29, 2022 · 0 comments
Open

Make frontend api calls fail gracefully. #32

aviraljain99 opened this issue Apr 29, 2022 · 0 comments
Assignees
Labels
bug Something isn't working frontend low priority

Comments

@aviraljain99
Copy link
Contributor

aviraljain99 commented Apr 29, 2022

For example, within lib/api/files.ts, getSignedUploadURLs and getUserFiles are async methods that make network calls such as fetch and getDocs. These operations could fail and these errors (example HTTP errors) would need to be handled properly.

Similarly, where methods from lib/api/files.ts are used, such as within components/datasets/DatasetViewer.tsx (loading the user's datasets) would depend on this error handling being done correctly.

@aviraljain99 aviraljain99 self-assigned this Apr 29, 2022
@harrykeightley harrykeightley added the bug Something isn't working label May 25, 2022
@harrykeightley harrykeightley changed the title Add/Investigate error handling for network operations in frontend Make frontend api calls fail gracefully. May 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working frontend low priority
Projects
None yet
Development

No branches or pull requests

2 participants