class Delayed::Plugins::BugsnagNotifier
Private Class Methods
error(job, exception)
click to toggle source
# File lib/delayed/plugins/bugsnag_notifier.rb, line 17 def self.error(job, exception) ::Bugsnag.notify(exception, error_class: exception.class.name, error_message: "#{ exception.class.name }: #{ exception.message }", backtrace: exception.backtrace, component: 'DJ-Worker', parameters: { job: job.inspect } ) end