Class: ShoryukenNewrelic::ErrorLogger
- Inherits:
-
Object
- Object
- ShoryukenNewrelic::ErrorLogger
- Defined in:
- lib/shoryuken_newrelic/error_logger.rb
Overview
This class sent errors to Newrelic
Instance Method Summary collapse
Instance Method Details
#call(_worker_instance, _queue, _sqs_msg, _body) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/shoryuken_newrelic/error_logger.rb', line 9 def call(_worker_instance, _queue, _sqs_msg, _body) yield rescue StandardError => e NewRelic::Agent.notice_error(e) raise e end |