Skip to content

Commit

Permalink
Fixed bug in client error handling (typo).
Browse files Browse the repository at this point in the history
  • Loading branch information
santip committed Dec 21, 2011
1 parent 67feb89 commit 3341bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/indextank/client.rb
Expand Up @@ -46,7 +46,7 @@ def on_complete(env)
when 401
raise InvalidApiKey
else
raise UnexpectedHTTPException, finished_env[:body]
raise UnexpectedHTTPException, env[:body]
end
end

Expand Down

0 comments on commit 3341bd2

Please sign in to comment.