diff --git a/app/src/Service/Money/Ine.php b/app/src/Service/Money/Ine.php index 24c693c..a4d78cf 100644 --- a/app/src/Service/Money/Ine.php +++ b/app/src/Service/Money/Ine.php @@ -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());