Permalink
Browse files

Fixed bug in client error handling (typo).

  • Loading branch information...
1 parent 67feb89 commit 3341bd238f6bfb1c1bb45bb4adf5f88dc3dd5ab5 @santip santip committed Dec 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/indextank/client.rb
View
@@ -46,7 +46,7 @@ def on_complete(env)
when 401
raise InvalidApiKey
else
- raise UnexpectedHTTPException, finished_env[:body]
+ raise UnexpectedHTTPException, env[:body]
end
end

0 comments on commit 3341bd2

Please sign in to comment.