Commit 9af495e0 authored by Peter Leitzen's avatar Peter Leitzen

Fix Ruby 2.7 keyword parameter deprecations for Status Page

parent e1be418f
......@@ -7,7 +7,7 @@ module Gitlab
def wrap_errors(**args)
yield
rescue Aws::Errors::ServiceError => e
raise Error, bucket: bucket_name, error: e, **args
raise Error.new(bucket: bucket_name, error: e, **args)
end
end
end
......
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