summaryrefslogtreecommitdiff
path: root/lib/sentry/client.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-08-07 09:04:49 -0700
committerStan Hu <stanhu@gmail.com>2019-08-07 09:04:49 -0700
commit4f1997a05a3d8d8eb04949888eff4c6a92de1bc3 (patch)
treeee4654944cfa7a5609ef54569301e975a03c2c74 /lib/sentry/client.rb
parent971c1061b22ac921c32d194dd67b67819d1ac74d (diff)
parent8d659869e1d8ef4a844ea03890f42cb80f312fa0 (diff)
downloadgitlab-ce-44496-save-project-id.tar.gz
Merge branch 'master' into 44496-save-project-id44496-save-project-id
Diffstat (limited to 'lib/sentry/client.rb')
-rw-r--r--lib/sentry/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sentry/client.rb b/lib/sentry/client.rb
index 4022e8ff946..07cca1c8d1e 100644
--- a/lib/sentry/client.rb
+++ b/lib/sentry/client.rb
@@ -67,7 +67,7 @@ module Sentry
def handle_request_exceptions
yield
- rescue HTTParty::Error => e
+ rescue Gitlab::HTTP::Error => e
Gitlab::Sentry.track_acceptable_exception(e)
raise_error 'Error when connecting to Sentry'
rescue Net::OpenTimeout