-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce Rails common error reporter (#7)
Most error monitoring software claim support for `Rails.error.handle`, but no support for `Rails.error.record`approach. But `.handle` method swallows errors and that makes it's usage complicated in our case. In this PR I suggest usage of `Rails.error.report`, this method is used underneath of `Rails.error.handle`, so should be as well supported by most error monitoring services and it fits perfectly to our use case. If we merge thos feature, this gem will be feature complete for usage in Cheddar's monolith application. Relevant documentation: - https://guides.rubyonrails.org/error_reporting.html - https://docs.appsignal.com/ruby/integrations/rails.html#tags-from-the-current-transaction - https://docs.honeybadger.io/lib/ruby/integration-guides/rails-exception-tracking/#the-rails-error-reporter --------- Co-authored-by: Stanislav (Stas) Katkov <[email protected]>
- Loading branch information
Showing
5 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters