lib/raven/rack.rb in sentry-raven-0.4.6 vs lib/raven/rack.rb in sentry-raven-0.4.7

- old
+ new

@@ -37,9 +37,13 @@ def initialize(app) @app = app end def call(env) + # store the current environment in our local context for arbitrary + # callers + Raven.rack_context(env) + begin response = @app.call(env) rescue Error => e raise # Don't capture Raven errors rescue Exception => e