Commit 0a0557a3 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'sh-fix-abort-in-database-restore' into 'master'

Fix confusing error in database restore

See merge request gitlab-org/gitlab!40790
parents 25def0d8 8432cf16
......@@ -71,7 +71,7 @@ module Backup
end
report_success(success)
abort Backup::Error, 'Restore failed' unless success
abort 'Restore failed' unless success
end
protected
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment