Sha256: 627bc1fda459bd24d48d6f72c7d232fa7ba0a2b6a2b71013e27ea508ab6ba441
Contents?: true
Size: 454 Bytes
Versions: 3
Compression:
Stored size: 454 Bytes
Contents
module Eventboss module ErrorHandlers class Rollbar def call(exception, context = {}) eventboss_context = { component: 'eventboss' } eventboss_context[:action] = context[:processor].class.to_s if context[:processor] default_options = { use_exception_level_filters: true } ::Rollbar.error( exception, context.merge(eventboss_context, default_options) ) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
eventboss-1.9.1 | lib/eventboss/error_handlers/rollbar.rb |
eventboss-1.9.0 | lib/eventboss/error_handlers/rollbar.rb |
eventboss-1.8.1 | lib/eventboss/error_handlers/rollbar.rb |