feat: email reminder about pending feedbacks for hotel managers
This commit is contained in:
@@ -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 = [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user