mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -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);
|
||||
})
|
||||
.otherwise(function (e) {
|
||||
return errors.logError(e);
|
||||
errors.logError(e);
|
||||
return res.send(500, e.message);
|
||||
});
|
||||
},
|
||||
'login': function (req, res) {
|
||||
|
|
Loading…
Reference in a new issue