Adapt changes in api

This commit is contained in:
Björn Fromme
2019-09-17 11:14:22 +02:00
parent d59748a030
commit 6079340162
4 changed files with 19 additions and 18 deletions
@@ -2,6 +2,7 @@
namespace EP\EpTheme\Service;
use Symfony\Component\HttpClient\Exception\ServerException;
use Symfony\Component\HttpClient\HttpClient;
use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
use TYPO3\CMS\Core\SingletonInterface;
@@ -52,5 +53,7 @@ class BookingApiService implements SingletonInterface
}
catch (TransportExceptionInterface $e)
{}
catch (ServerException $e)
{}
}
}