XKit-Rewritten
XKit-Rewritten copied to clipboard
Improve error handling on mega editor endpoint uses
Concept
make use of #971
idk will figure out what needs to be done when I have two arms
https://github.com/AprilSylph/XKit-Rewritten/blob/b75a8ba873b43b55b1cf7a07893e51a91648e125/src/util/mega_editor.js#L53-L55
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.