Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

httparty shouldn't swallow the backtrace

  • Loading branch information...
commit 4e187b1315ce836395668c099e02b5de273caba0 1 parent 9c08f47
@dscataglini dscataglini authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/httparty/parser.rb
View
4 lib/httparty/parser.rb
@@ -138,8 +138,8 @@ def supports_format?
def parse_supported_format
send(format)
- rescue NoMethodError
- raise NotImplementedError, "#{self.class.name} has not implemented a parsing method for the #{format.inspect} format."
+ rescue NoMethodError => e
+ raise NotImplementedError, "#{self.class.name} has not implemented a parsing method for the #{format.inspect} format.", e.backtrace
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.