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

Missing var_export in log message #66

Closed
gimler opened this issue Jun 1, 2012 · 6 comments
Closed

Missing var_export in log message #66

gimler opened this issue Jun 1, 2012 · 6 comments

Comments

@gimler
Copy link
Contributor

gimler commented Jun 1, 2012

i get this message the headers and the body is Array so here is a var_export missing

guzzle v2.5.0

{{{
[response] HTTP/1.1 400 Bad Request
Date: Thu, 31 May 2012 20:12:52 GMT
Server: Apache
Cache-Control: public, max-age=600
Expires: Thu, 31 May 2012 20:22:52 GMT
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: POST,GET,PUT,DELETE,HEAD
Access-Control-Max-Age: 604800
Content-Length: 171
Connection: close
Content-Type: application/json; charset=utf-8

{"errors":[{"message":"Unable to retrieve server info [500]:\nHeaders: Array\n(\n)\nBody: Array\n(\n [error] => couldn't connect to host [7]\n)\n","name":500,"at":""}]} [] []
}}}

@mtdowling
Copy link
Member

Is this an exception or using the LogPlugin?

@gimler
Copy link
Contributor Author

gimler commented Jun 5, 2012

Exception

} catch (ClientErrorResponseException $e) {
    $this->container->get('logger')->err($e->getMessage());
}

@mtdowling
Copy link
Member

I'm having a hard time tracking this down. This is strange because the body of a response is not stored in an array. Can you provide any more information or possibly a failing test case?

@mtdowling
Copy link
Member

Is this still an issue?

@gimler
Copy link
Contributor Author

gimler commented Jun 18, 2012

Sorry i can't reproduce this error.

@mtdowling
Copy link
Member

Ok. I'll go ahead and close the issue. Feel free to reopen the issue if you come across it again.

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

No branches or pull requests

2 participants