Skip to content

Commit e0b16f8

Browse files
committed
Pass original argument back to Rails exceptions
Thanks @senny!
1 parent de39df3 commit e0b16f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def render_exception_with_raven(env_or_request, exception)
1010
env = env_or_request.respond_to?(:env) ? env_or_request.env : env_or_request
1111
Raven::Rack.capture_exception(exception, env)
1212
ensure
13-
render_exception_without_raven(env, exception)
13+
render_exception_without_raven(env_or_request, exception)
1414
end
1515
end
1616
end

0 commit comments

Comments
 (0)