Sha256: e66ed48342df80efb4be9c48e5239fed8295a98bc3a82d3b926788a154211855
Contents?: true
Size: 479 Bytes
Versions: 40
Compression:
Stored size: 479 Bytes
Contents
module Bugsnag::Rails module ActiveRecordRescue KINDS = [:commit, :rollback].freeze def run_callbacks(kind, *args, &block) if KINDS.include?(kind) begin super rescue StandardError => exception # This exception will NOT be escalated, so notify it here. Bugsnag.auto_notify(exception) raise end else # Let the post process handle the exception super end end end end
Version data entries
40 entries across 40 versions & 2 rubygems