Exception history

This commit is contained in:
Juan Pablo Vial
2025-10-03 11:48:11 -03:00
parent fa2b9d130b
commit 032d00fbb6

View File

@ -48,8 +48,8 @@ class Ine implements Provider
]);
try {
$response = $this->client->get($request_uri);
} catch (GuzzleException) {
throw new EmptyResponse($request_uri);
} catch (GuzzleException $exception) {
throw new EmptyResponse($request_uri, $exception);
}
$body = $response->getBody();
$json = json_decode($body->getContents());