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

POC: Add GUI error handling per request #8142

Closed
wants to merge 1 commit into from

Conversation

qstokkink
Copy link
Contributor

@qstokkink qstokkink commented Sep 6, 2024

Fixes #8141

This PR:

  • Adds error handlers for all REST requests.

This PR is meant as a proof of concept. I'm not necessarily sure myself that this is the best approach.

CURRENTLY BROKEN: simply raising a RuntimeError in the TorrentInfoEndpoint will (still) break the GUI, disallowing the error reporter from being shown.

@qstokkink qstokkink marked this pull request as ready for review September 6, 2024 13:39
@qstokkink
Copy link
Contributor Author

I don't think this POC can be saved, see #8141 (comment)
We need a different approach.

@qstokkink qstokkink closed this Sep 10, 2024
@qstokkink qstokkink deleted the fix_gui_error_catching branch October 28, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Don't use Axios interceptor for error handling
1 participant