Skip to content

Commit

Permalink
Returning the response body on errors too.
Browse files Browse the repository at this point in the history
  • Loading branch information
FiXato committed Sep 25, 2008
1 parent 8be634c commit b38e4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/request_errors.rb
Expand Up @@ -62,7 +62,7 @@ def message
end end


def to_s def to_s
message "%s\n%s" % [message,@response.body]
end end
end end
end end
Expand Down

0 comments on commit b38e4a7

Please sign in to comment.