diff --git a/kronolith/data.php b/kronolith/data.php index c88a77bc895..dbb277d8e0f 100644 --- a/kronolith/data.php +++ b/kronolith/data.php @@ -216,7 +216,14 @@ if (!empty($ical)) { $ical_importer = new Kronolith_Icalendar_Handler_Base($ical, $kronolith_driver); - $ical_importer->process(); + try { + $ical_importer->process(); + } catch (Kronolith_Exception $e) { + $msg = _("Can't create a new event.") + . ' ' . sprintf(_("This is what the server said: %s"), $e->getMessage()); + $notification->push($msg, 'horde.error'); + $error = true; + } } if (!$error) {