Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't modify the backtrace, because that makes debugging crazy-difficult

  • Loading branch information...
commit 3cb1ce3cd2f3e071d62d9151d3b8dd4922b382e1 1 parent 4a9e22d
@raggi raggi authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/rack/request.rb
View
3  lib/rack/request.rb
@@ -262,7 +262,8 @@ def cookies
@env["rack.request.cookie_string"] = string
hash
rescue => error
- raise error.class, "cannot parse Cookie header: #{error.message}"
+ error.message.replace "cannot parse Cookie header: #{error.message}"
+ raise
end
def xhr?
Please sign in to comment.
Something went wrong with that request. Please try again.