feat: email reminder about pending feedbacks for hotel managers

This commit is contained in:
Björn Fromme
2023-12-07 16:20:09 +01:00
parent aee17c63b9
commit ab066c4656
8 changed files with 292 additions and 152 deletions
@@ -5,6 +5,7 @@ namespace App\BusProNet\DataProvider;
use App\BusProNet\ApiClient;
use App\BusProNet\ApiClientException;
use App\BusProNet\Model\Hotel;
use Psr\Cache\InvalidArgumentException;
use Symfony\Contracts\Cache\CacheInterface;
use Symfony\Contracts\Cache\ItemInterface;
@@ -25,7 +26,7 @@ class HotelDataProvider
->getItems()
;
});
} catch (ApiClientException $e) {
} catch (ApiClientException|InvalidArgumentException $e) {
$hotels = [];
}