Skip to content
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

feat: refactor _handleRequest #708

Merged
merged 1 commit into from
Jun 27, 2023
Merged

feat: refactor _handleRequest #708

merged 1 commit into from
Jun 27, 2023

Conversation

hf
Copy link
Contributor

@hf hf commented Jun 26, 2023

_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.

@hf hf force-pushed the hf/refactor-handle-request branch 2 times, most recently from 7c4c6c1 to a858b14 Compare June 26, 2023 09:14
@hf hf force-pushed the hf/refactor-handle-request branch from a858b14 to 6ffd672 Compare June 26, 2023 10:19
@hf hf merged commit 65f1c52 into master Jun 27, 2023
1 check passed
@hf hf deleted the hf/refactor-handle-request branch June 27, 2023 09:15
@github-actions
Copy link
Contributor

🎉 This PR is included in version 2.33.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants