Permalink
Browse files

Returning the response body on errors too.

  • Loading branch information...
1 parent 8be634c commit b38e4a77640f5d1c73588b919469799d5429b69a @FiXato committed Sep 25, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/request_errors.rb
View
@@ -62,7 +62,7 @@ def message
end
def to_s
- message
+ "%s\n%s" % [message,@response.body]
end
end
end

0 comments on commit b38e4a7

Please sign in to comment.