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

fix: Abort requests when caught in an error #508

Merged
merged 1 commit into from
May 15, 2020

Conversation

Robdel12
Copy link
Contributor

What is this?

If we don't respond the request, it will hang the tab. Since it errored, we should cancel it.

If we don't respond the request, it will hang the tab. Since it errored, we
should cancel it.
@Robdel12 Robdel12 requested a review from wwilsman May 15, 2020 15:42
Copy link
Contributor

@wwilsman wwilsman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would normally ask for some tests, but with our current test suites this would probably be difficult to trigger. Also, this now seems pretty obvious that we should've always aborted here since we swallow the error and don't let it bubble.

🎮

@Robdel12 Robdel12 merged commit 1c2585d into master May 15, 2020
@delete-merged-branch delete-merged-branch bot deleted the rd/abort-caught-requests branch May 15, 2020 16:27
djones pushed a commit that referenced this pull request May 15, 2020
## [0.26.4](v0.26.3...v0.26.4) (2020-05-15)

### Bug Fixes

* Abort requests when caught in an error ([#508](#508)) ([1c2585d](1c2585d))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants