Skip to content
Snippets Groups Projects
Commit 2f35c640 authored by Demian Katz's avatar Demian Katz
Browse files

Fixed bug -- wrong variable.

parent 724919b1
No related merge requests found
......@@ -215,7 +215,7 @@ class Connector implements LoggerAwareInterface
public function checkForHttpError($result)
{
if (!$result->isSuccess()) {
throw HttpErrorException::createFromResponse($response);
throw HttpErrorException::createFromResponse($result);
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment