summaryrefslogtreecommitdiff
path: root/lib/sentry
diff options
context:
space:
mode:
authorReuben Pereira <rpereira@gitlab.com>2019-02-21 11:19:51 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2019-02-21 11:19:51 +0000
commit536463295c2598505135bc61570ea66e1bad6496 (patch)
tree4bb61e295d682140d3c0cf8d9c3923e49e9e8e2b /lib/sentry
parent56b82db63a91695a1dec1b7cbf39636bb01ad3df (diff)
downloadgitlab-ce-536463295c2598505135bc61570ea66e1bad6496.tar.gz
Catch exception in calculate reactive cache
Return the exception as an error.
Diffstat (limited to 'lib/sentry')
-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 4187014d49e..49ec196b103 100644
--- a/lib/sentry/client.rb
+++ b/lib/sentry/client.rb
@@ -54,7 +54,7 @@ module Sentry
def handle_response(response)
unless response.code == 200
- raise Client::Error, "Sentry response error: #{response.code}"
+ raise Client::Error, "Sentry response status code: #{response.code}"
end
response.as_json