diff --git a/core/server/api/canary/db.js b/core/server/api/canary/db.js index 55487212be..7d1e6be867 100644 --- a/core/server/api/canary/db.js +++ b/core/server/api/canary/db.js @@ -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;