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

Suppress logging AbortError when data fetching calls are aborted #2811

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

yifanmai
Copy link
Collaborator

In strict model (i.e. development mode), components will be double-rendered, which will lead to data-fetching calls being aborted. Previously, this caused many DOMException: signal is aborted without reason error messages to be printed to the console. Since it is expected for the calls to be aborted, we suppress logging these errors instead.

@yifanmai yifanmai requested a review from farzaank July 17, 2024 22:08
@yifanmai yifanmai marked this pull request as ready for review July 17, 2024 22:08
@yifanmai yifanmai merged commit fff6762 into main Aug 1, 2024
3 checks passed
@yifanmai yifanmai deleted the yifanmai/handle-abort branch August 1, 2024 00:18
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.

1 participant