Sha256: 19e8ee6b4bc7f04bd3a8e00030387c2c0c4ca2e09d83355310110dd7749c1fe3
Contents?: true
Size: 413 Bytes
Versions: 16
Compression:
Stored size: 413 Bytes
Contents
module Rollbar # Report any uncaught errors in a job to Rollbar and reraise module ActiveJob def self.included(base) base.send :rescue_from, Exception do |exception| Rollbar.error(exception, :job => self.class.name, :job_id => job_id, :use_exception_level_filters => true) raise exception end end end end
Version data entries
16 entries across 16 versions & 1 rubygems