Sha256: 70a0f61966f05532972f1077c4dce1d7e83ee1ccbd8f3894964b5210c6159ce7
Contents?: true
Size: 561 Bytes
Versions: 1
Compression:
Stored size: 561 Bytes
Contents
module Rake class Task alias_method :invoke_without_appsignal, :invoke def invoke(*args) transaction = Appsignal::Transaction.create(SecureRandom.uuid, ENV) transaction.set_kind('background_job') transaction.set_action(name) invoke_without_appsignal(*args) rescue => exception unless Appsignal.is_ignored_exception?(exception) transaction.add_exception(exception) end raise exception ensure transaction.complete! Appsignal.agent.send_queue if Appsignal.active? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appsignal-0.11.13.beta.2 | lib/appsignal/integrations/rake.rb |