lib/bugsnag/rails/action_controller_rescue.rb in bugsnag-1.0.3 vs lib/bugsnag/rails/action_controller_rescue.rb in bugsnag-1.0.4

- old
+ new

@@ -9,20 +9,18 @@ base.send(:alias_method, :rescue_action_locally, :rescue_action_locally_with_bugsnag) end private def rescue_action_in_public_with_bugsnag(exception) - auto_notify(exception) unless Bugsnag.configuration.disable_auto_notification + # bugsnag_request_data is defined in controller_methods.rb + Bugsnag.auto_notify(exception, bugsnag_request_data) rescue_action_in_public_without_bugsnag(exception) end def rescue_action_locally_with_bugsnag(exception) - auto_notify(exception) unless Bugsnag.configuration.disable_auto_notification + # bugsnag_request_data is defined in controller_methods.rb + Bugsnag.auto_notify(exception, bugsnag_request_data) rescue_action_locally_without_bugsnag(exception) - end - - def auto_notify(exception) - notify_bugsnag(exception) end end end end \ No newline at end of file