Commit graph

6 commits

Author SHA1 Message Date
Peter Leitzen
bbb17ea1ea Handle possible HTTP exception for Sentry client
Prior this commit exceptions raised during a HTTP request
weren't caught by the Sentry client and were passed to the user.

In addition the Sentry client tried to catch a non-existent error
`Sentry::Client::SentryError`.

Now, the Sentry client catches all possible errors coming from
a HTTP request.
2019-04-07 07:51:36 +00:00
Reuben Pereira
c558d72b5b Handle missing keys in sentry api response
- Do not raise error when there are missing non-essential keys in sentry
api response.
- Add specs for to check for missing keys behavior.
2019-03-29 14:53:40 +00:00
Reuben Pereira
43e713eb41 Refactor model and spec
- Move some specs into contexts
- Let get_slugs method take a parameter and return a specific slug.
- Add rescues when using Addressable::URI.
2019-03-01 14:51:54 +00:00
Reuben Pereira
536463295c Catch exception in calculate reactive cache
Return the exception as an error.
2019-02-21 11:19:51 +00:00
Reuben Pereira
ef807a2eca Add service to get sentry projects list 2019-02-06 15:07:26 +00:00
Reuben Pereira
d69074fc72 Service for calling Sentry issues api 2019-01-09 21:04:27 +00:00