mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 00:15:11 +03:00
Corrected 404 handling
This commit is contained in:
parent
52635f1aa8
commit
4a79a0e753
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user