Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed bug in client error handling (typo).

  • Loading branch information...
commit 3341bd238f6bfb1c1bb45bb4adf5f88dc3dd5ab5 1 parent 67feb89
@santip santip authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/indextank/client.rb
View
2  lib/indextank/client.rb
@@ -46,7 +46,7 @@ def on_complete(env)
when 401
raise InvalidApiKey
else
- raise UnexpectedHTTPException, finished_env[:body]
+ raise UnexpectedHTTPException, env[:body]
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.