1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 13:10:24 +02:00

More helpful avatar upload error messages

ref #165, #118
This commit is contained in:
Toby Zerner
2015-10-22 10:39:38 +10:30
parent 583a4f1d73
commit ee7bfddd4b
4 changed files with 48 additions and 25 deletions

View File

@@ -206,7 +206,7 @@ export default class App {
try {
return JSON.parse(responseText);
} catch (e) {
throw new RequestError(500, responseText, options, xhr);
throw new RequestError(500, responseText, options);
}
});