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;