Sha256: 0897acbf527aa6388f801c17a05ce98447ab038bb6724e7afee302022200f51d
Contents?: true
Size: 496 Bytes
Versions: 1
Compression:
Stored size: 496 Bytes
Contents
module Bugsnag module Rails module ActionControllerRescue def self.included(base) base.send(:alias_method, :rescue_action_in_public_without_bugsnag, :rescue_action_in_public) base.send(:alias_method, :rescue_action_in_public, :rescue_action_in_public_with_bugsnag) end private def rescue_action_in_public_with_bugsnag(exception) Bugsnag.notify(exception) rescue_action_in_public_without_scepter(exception) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bugsnag-1.0.0 | lib/bugsnag/rails/action_controller_rescue.rb |