diff --git a/Sdk/Api.php b/Sdk/Api.php index 81ddcb7..c83f6d3 100644 --- a/Sdk/Api.php +++ b/Sdk/Api.php @@ -23,6 +23,7 @@ use Symfony\Component\HttpClient\HttpClient; use Symfony\Component\HttpClient\ScopingHttpClient; use Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface; +use Symfony\Contracts\HttpClient\Exception\ExceptionInterface; use Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface; use Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface; use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface; @@ -280,7 +281,7 @@ private function processClientError(HttpExceptionInterface $e) throw new ApiClientException($message, $error, 0, $e); } - private function logException(HttpExceptionInterface $e) + private function logException(ExceptionInterface $e) { $message = sprintf("Exception: Class: \"%s\", Message: \"%s\", Response:\n%s", \get_class($e),