|
@@ -133,8 +133,7 @@ |
|
|
block discarded – undo |
|
133
|
133
|
$body = $httpresponse->getBody()->getContents(); |
|
134
|
134
|
Log::instance()->debug('got response:'.PHP_EOL.$body); |
|
135
|
135
|
$response = new $this->response_class($body); |
|
136
|
|
- } |
|
137
|
|
- catch (\GuzzleHttp\Exception\TransferException $e) |
|
|
136
|
+ } catch (\GuzzleHttp\Exception\TransferException $e) |
|
138
|
137
|
{ |
|
139
|
138
|
Log::instance()->debug('request:'.PHP_EOL.\GuzzleHttp\Psr7\str($e->getRequest())); |
|
140
|
139
|
if ($e->hasResponse()) { |
Please login to merge, or discard this patch.