Compare commits

..

2 Commits

Author SHA1 Message Date
6e5f929dc3
feat: retries of api requests in case of failure 2024-01-18 21:08:11 +01:00
7eac908bc4
feat: add retry client trait for api requests
feat: add retry client trait for api requests
2024-01-18 21:08:11 +01:00

View File

@ -1,11 +1,10 @@
<?php <?php
declare(strict_types=1);
namespace App\Service\Remote; namespace App\Service\Remote;
use App\Service\Remote\Exception\AuthorizeException;
use Exception; use Exception;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
use Symfony\Component\HttpClient\Exception\TransportException;
trait RetryingFailClientTrait trait RetryingFailClientTrait
{ {