diff options
author | Reuben Pereira <rpereira@gitlab.com> | 2019-02-21 11:19:51 +0000 |
---|---|---|
committer | Kamil TrzciĆski <ayufan@ayufan.eu> | 2019-02-21 11:19:51 +0000 |
commit | 536463295c2598505135bc61570ea66e1bad6496 (patch) | |
tree | 4bb61e295d682140d3c0cf8d9c3923e49e9e8e2b /lib/sentry | |
parent | 56b82db63a91695a1dec1b7cbf39636bb01ad3df (diff) | |
download | gitlab-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.rb | 2 |
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 |