Permalink
Browse files

Remove request and response object from message string

  • Loading branch information...
1 parent deaea3a commit 449832bab5d61a52ee2512861bd6ed303a6c4cbf @Berdir Berdir committed Jan 28, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 Exception/BadResponseException.php
@@ -41,8 +41,6 @@ public static function factory(RequestInterface $request, Response $response)
'[status code] ' . $response->getStatusCode(),
'[reason phrase] ' . $response->getReasonPhrase(),
'[url] ' . $request->getUrl(),
- '[request] ' . (string) $request,
- '[response] ' . (string) $response
));
$e = new $class($message);

0 comments on commit 449832b

Please sign in to comment.