lib/sentry/rails/controller_methods.rb in sentry-rails-4.1.1 vs lib/sentry/rails/controller_methods.rb in sentry-rails-4.1.2

- old
+ new

@@ -1,16 +1,16 @@ module Sentry module Rails module ControllerMethods def capture_message(message, options = {}) with_request_scope do - Sentry.capture_message(message, **options) + Sentry::Rails.capture_message(message, **options) end end def capture_exception(exception, options = {}) with_request_scope do - Sentry.capture_exception(exception, **options) + Sentry::Rails.capture_exception(exception, **options) end end private