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

Improve error handling on mega editor endpoint uses #1046

Open
marcustyphoon opened this issue Apr 6, 2023 · 1 comment
Open

Improve error handling on mega editor endpoint uses #1046

marcustyphoon opened this issue Apr 6, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@marcustyphoon
Copy link
Collaborator

Concept

make use of #971

idk will figure out what needs to be done when I have two arms

@marcustyphoon
Copy link
Collaborator Author

}).then(async response =>
response.ok ? response.json() : Promise.reject(await response.json())
),

This doesn't currently give a clean message when the error page is HTML, as it is on at least the HTTP 500 errors given if I break #827.

Changing this would mess with that PR's diff, so I'm not doing it at the moment.

@marcustyphoon marcustyphoon changed the title add error handling to mega editor endpoint uses Improve error handling on mega editor endpoint uses May 10, 2024
@marcustyphoon marcustyphoon removed their assignment May 10, 2024
@marcustyphoon marcustyphoon added the help wanted Extra attention is needed label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant