Skip to content

Commit

Permalink
Remove request and response object from message string
Browse files Browse the repository at this point in the history
  • Loading branch information
Berdir committed Jan 28, 2013
1 parent deaea3a commit 449832b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Exception/BadResponseException.php
Expand Up @@ -41,8 +41,6 @@ public static function factory(RequestInterface $request, Response $response)
'[status code] ' . $response->getStatusCode(), '[status code] ' . $response->getStatusCode(),
'[reason phrase] ' . $response->getReasonPhrase(), '[reason phrase] ' . $response->getReasonPhrase(),
'[url] ' . $request->getUrl(), '[url] ' . $request->getUrl(),
'[request] ' . (string) $request,
'[response] ' . (string) $response
)); ));


$e = new $class($message); $e = new $class($message);
Expand Down

0 comments on commit 449832b

Please sign in to comment.