Sha256: 713d16ef579c3e6cadda89d56ba5b322a76d341c8cb3ba63480657b3058cbdbb

Contents?: true

Size: 249 Bytes

Versions: 5

Compression:

Stored size: 249 Bytes

Contents

::Delayed::Worker.lifecycle.around(:invoke_job) do |job, *args, &block|
  begin
    block.call(job, *args)
  rescue Exception => e
    ::RuntimeerrorNotifier::Notifier.notification({ 'job' => job.attributes, 'args' => args }, e)
    raise
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
runtimeerror_notifier-0.0.27 lib/runtimeerror_notifier/delayed_job.rb
runtimeerror_notifier-0.0.26 lib/runtimeerror_notifier/delayed_job.rb
runtimeerror_notifier-0.0.25 lib/runtimeerror_notifier/delayed_job.rb
runtimeerror_notifier-0.0.24 lib/runtimeerror_notifier/delayed_job.rb
runtimeerror_notifier-0.0.23 lib/runtimeerror_notifier/delayed_job.rb