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:
parent
c89fa7ab64
commit
d6f4312255
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue