0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Corrected 404 handling

This commit is contained in:
Nazar Gargol 2019-12-17 14:34:56 +07:00 committed by Daniel Lockyer
parent 52635f1aa8
commit 4a79a0e753

View file

@ -53,7 +53,7 @@ module.exports = {
let backup = await dbBackup.readBackup(frame.options.filename);
if (!backup) {
return new common.errors.NotFoundError();
throw new common.errors.NotFoundError();
}
return backup;