0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Improve errors on image upload

This commit is contained in:
Hannah Wolfe 2014-01-11 13:40:21 +00:00
parent c89fa7ab64
commit d6f4312255

View file

@ -60,7 +60,8 @@ adminControllers = {
return res.send(url); return res.send(url);
}) })
.otherwise(function (e) { .otherwise(function (e) {
return errors.logError(e); errors.logError(e);
return res.send(500, e.message);
}); });
}, },
'login': function (req, res) { 'login': function (req, res) {