Commit 277fa291 authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'ab-move-sentry-response-invalid-size-error' into 'master'

Move Custom Error to Module It Is Used In

See merge request gitlab-org/gitlab!28208
parents 3de3db92 0805d359
...@@ -10,7 +10,6 @@ module Sentry ...@@ -10,7 +10,6 @@ module Sentry
Error = Class.new(StandardError) Error = Class.new(StandardError)
MissingKeysError = Class.new(StandardError) MissingKeysError = Class.new(StandardError)
ResponseInvalidSizeError = Class.new(StandardError)
attr_accessor :url, :token attr_accessor :url, :token
......
...@@ -4,6 +4,7 @@ module Sentry ...@@ -4,6 +4,7 @@ module Sentry
class Client class Client
module Issue module Issue
BadRequestError = Class.new(StandardError) BadRequestError = Class.new(StandardError)
ResponseInvalidSizeError = Class.new(StandardError)
SENTRY_API_SORT_VALUE_MAP = { SENTRY_API_SORT_VALUE_MAP = {
# <accepted_by_client> => <accepted_by_sentry_api> # <accepted_by_client> => <accepted_by_sentry_api>
......
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