Skip to content

Fix: stop axios from throwing exceptions on 4/500s... let the caller deal with it #6467

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

Merged
merged 1 commit into from
Jun 23, 2025

Conversation

jobelenus
Copy link
Contributor

This fixes the "on api error the spinner doesnt stop spinning" because the exception prevents the =false line.

The component which called the API ought to deal with the failure appropriately in the interface

Copy link

github-actions bot commented Jun 23, 2025

Dependency Review

✅ No vulnerabilities or OpenSSF Scorecard issues found.

Scanned Files

None

…deal with it

This fixes the "on api error the spinner doesnt stop spinning" because the exception prevents the =false line
@jobelenus jobelenus force-pushed the fix/axios-exceptions branch from e168202 to 7c5ba52 Compare June 23, 2025 20:19
@jobelenus jobelenus enabled auto-merge June 23, 2025 20:29
@jobelenus jobelenus added this pull request to the merge queue Jun 23, 2025
Merged via the queue into main with commit 0cc5c19 Jun 23, 2025
10 checks passed
@jobelenus jobelenus deleted the fix/axios-exceptions branch June 23, 2025 21:44
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.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy