lib/raven/integrations/rack-timeout.rb in sentry-raven-2.5.0 vs lib/raven/integrations/rack-timeout.rb in sentry-raven-2.5.1
- old
+ new
@@ -1,6 +1,6 @@
# We need to do this because of the way integration loading works
-require "rack/timeout/base"
+require "rack/timeout/base" unless defined?(Rack::Timeout)
# 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.