Module: Raven::Rails::ControllerMethods

Defined in:
lib/raven/integrations/rails/controller_methods.rb

Instance Method Summary collapse

Instance Method Details

#capture_exception(exception, options = {}) ⇒ Object



8
9
10
# File 'lib/raven/integrations/rails/controller_methods.rb', line 8

def capture_exception(exception, options = {})
  Raven::Rack.capture_exception(exception, request.env, options)
end

#capture_message(message, options = {}) ⇒ Object



4
5
6
# File 'lib/raven/integrations/rails/controller_methods.rb', line 4

def capture_message(message, options = {})
  Raven::Rack.capture_message(message, request.env, options)
end