Module: Sidekiq::Datadog::Error::Tracking
- Defined in:
- lib/sidekiq/datadog/error/tracking.rb,
lib/sidekiq/datadog/error/tracking/version.rb
Constant Summary collapse
- VERSION =
'0.1.0'
Class Method Summary collapse
-
.call(exception, context) ⇒ Object
The number of characters written.
Class Method Details
.call(exception, context) ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/sidekiq/datadog/error/tracking.rb', line 17 def self.call(exception, context) = { error: { kind: exception.class.name, message: exception., stack: exception.backtrace }, job: context } Sidekiq.logger.error() end |