Exception history
This commit is contained in:
@ -48,8 +48,8 @@ class Ine implements Provider
|
|||||||
]);
|
]);
|
||||||
try {
|
try {
|
||||||
$response = $this->client->get($request_uri);
|
$response = $this->client->get($request_uri);
|
||||||
} catch (GuzzleException) {
|
} catch (GuzzleException $exception) {
|
||||||
throw new EmptyResponse($request_uri);
|
throw new EmptyResponse($request_uri, $exception);
|
||||||
}
|
}
|
||||||
$body = $response->getBody();
|
$body = $response->getBody();
|
||||||
$json = json_decode($body->getContents());
|
$json = json_decode($body->getContents());
|
||||||
|
Reference in New Issue
Block a user