-
-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: refactor
_handleRequest
(#708)
`_handleRequest` used a Promise instead of async/await which made traces difficult to debug. Additionally, it handles direct fetch errors which are always indicative of a network error, CORS or other such issues and propagtes the error directly.
- Loading branch information
Showing
1 changed file
with
43 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters