You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 18, 2023. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
harrykeightley
changed the title
Add/Investigate error handling for network operations in frontend
Make frontend api calls fail gracefully.
May 25, 2022
For example, within
lib/api/files.ts
,getSignedUploadURLs
andgetUserFiles
are async methods that make network calls such asfetch
andgetDocs
. 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 withincomponents/datasets/DatasetViewer.tsx
(loading the user's datasets) would depend on this error handling being done correctly.The text was updated successfully, but these errors were encountered: