fix notify error handling
This commit is contained in:
parent
200489ff9d
commit
cd2ef9123c
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class CalendarListener implements IEventListener {
|
|||
$transport = $this->transportManager->getTransport($subscription->getTransport());
|
||||
try {
|
||||
$transport->notify($subscription->getUserId(), $collectionName, $subscription->getId());
|
||||
} catch (Error $e) {
|
||||
} catch (\Exception $e) {
|
||||
$this->logger->error("transport " . $subscription->getTransport() . " failed to deliver notification to subscription " . $subscription->getId());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue