summaryrefslogtreecommitdiff
path: root/lib/backup/database.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backup/database.rb')
-rw-r--r--lib/backup/database.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backup/database.rb b/lib/backup/database.rb
index f07fd786b4b..a4ac404d245 100644
--- a/lib/backup/database.rb
+++ b/lib/backup/database.rb
@@ -61,7 +61,7 @@ module Backup
report_success(success)
progress.flush
- raise Backup::Error, 'Backup failed' unless success
+ raise DatabaseBackupError.new(config, db_file_name) unless success
end
def restore