Sha256: 031b767fbb99df3955e08a7627697ffb67e656af3976c1fe0a4401da8ac335de

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
runtimeerror_notifier-0.0.21 lib/runtimeerror_notifier/delayed_job.rb