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

Make frontend api calls fail gracefully. #32

@aviraljain99

Description

@aviraljain99

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions