Sha256: b65bfa9257bc173bed00d8f65f8354f7bd0e2ba28c5d60eca227f7fd7147c9bf
Contents?: true
Size: 358 Bytes
Versions: 4
Compression:
Stored size: 358 Bytes
Contents
module ResqueMods module AirbrakeNotifyJob def around_perform_notify_airbrake(*args) begin yield *args rescue => e if defined? Airbrake Airbrake.notify(e) else ResqueMods.logger.error "Airbrake not present. Hit error: #{e.message}" raise end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems