Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Guzzle method used for CurlException #124

Closed
ElliotFriend opened this issue Feb 11, 2015 · 2 comments
Closed

Wrong Guzzle method used for CurlException #124

ElliotFriend opened this issue Feb 11, 2015 · 2 comments
Milestone

Comments

@ElliotFriend
Copy link
Contributor

I'm working off the master branch.

My laptop was having trouble resolving DNS this morning (totally separate issue). When trying to login with Terminus, I received the following error:

elliot@ransford ~/Development/Pantheon/cli $ bin/terminus auth login [email protected]
Your dashboard password (input will not be shown):
Logging in as [email protected]
PHP Fatal error:  Call to undefined method Guzzle\Http\Exception\CurlException::getResponse() in /home/elliot/Development/Pantheon/cli/php/class-terminus-command.php on line 160
ElliotFriend added a commit to ElliotFriend/cli that referenced this issue Feb 11, 2015
The `getResponse()` method is not a valid method for Guzzle's
CurlException class. `getError()` seems to be doing the trick,
though.

Further, the `getError()` doesn't have a `getBody()` member
function. It just returns the error.

Signed-off-by: Elliot Voris <[email protected]>
@mikevanwinkle
Copy link
Contributor

See also #83

@mikevanwinkle mikevanwinkle added this to the 0.5-beta milestone Feb 11, 2015
@mikevanwinkle
Copy link
Contributor

merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants