diff --git a/lib/Listener/CalendarListener.php b/lib/Listener/CalendarListener.php index f8b72c0..b5db97d 100644 --- a/lib/Listener/CalendarListener.php +++ b/lib/Listener/CalendarListener.php @@ -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()); } }