Commit dacbafe6 authored by Vitali Tatarintev's avatar Vitali Tatarintev

Merge branch 'pl-status-page-kwargs-warnings' into 'master'

Fix Ruby 2.7 keyword parameter deprecations for Status Page

See merge request gitlab-org/gitlab!43815
parents b700bfb9 9af495e0
......@@ -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