Commit 1040979b authored by Ash McKenzie's avatar Ash McKenzie

Merge branch 'patch-38' into 'master'

Removed unused private `#valid_size?` method

See merge request gitlab-org/gitlab!19919
parents 0365b2c1 089fa9de
...@@ -51,10 +51,6 @@ module Sentry ...@@ -51,10 +51,6 @@ module Sentry
raise Client::ResponseInvalidSizeError, "Sentry API response is too big. Limit is #{Gitlab::Utils::DeepSize.human_default_max_size}." raise Client::ResponseInvalidSizeError, "Sentry API response is too big. Limit is #{Gitlab::Utils::DeepSize.human_default_max_size}."
end end
def valid_size?(issues)
Gitlab::Utils::DeepSize.new(issues).valid?
end
def handle_mapping_exceptions(&block) def handle_mapping_exceptions(&block)
yield yield
rescue KeyError => e rescue KeyError => e
......
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