XKit-Rewritten icon indicating copy to clipboard operation
XKit-Rewritten copied to clipboard

Improve error handling on mega editor endpoint uses

Open marcustyphoon opened this issue 2 years ago • 1 comments

Concept

make use of #971

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

marcustyphoon avatar Apr 06 '23 23:04 marcustyphoon

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.

marcustyphoon avatar May 10 '24 20:05 marcustyphoon