Module: RackTimeoutExtensions

Defined in:
lib/raven/integrations/rack-timeout.rb

Overview

This integration is a good example of how to change how exceptions get grouped by Sentry’s UI. Simply override #raven_context in the exception class, and append something to the fingerprint that will distinguish exceptions in the way you desire.

Instance Method Summary collapse

Instance Method Details

#raven_contextObject



10
11
12
# File 'lib/raven/integrations/rack-timeout.rb', line 10

def raven_context
  { :fingerprint => ["{{ default }}", env["REQUEST_URI"]] }
end