diff --git a/plugins/libcalendaring/libvcalendar.php b/plugins/libcalendaring/libvcalendar.php index b81ae995..127ee36f 100644 --- a/plugins/libcalendaring/libvcalendar.php +++ b/plugins/libcalendaring/libvcalendar.php @@ -320,7 +320,12 @@ class libvcalendar implements Iterator if ($object['recurrence']) { foreach ($vobject->children as $component) { if ($component->name == 'VEVENT' && isset($component->{'RECURRENCE-ID'})) { - $object['recurrence']['EXCEPTIONS'][] = $this->_to_array($component); + try { + $object['recurrence']['EXCEPTIONS'][] = $this->_to_array($component); + } + catch (Exception $e) { + console("iCal data parse error: " . $e->getMessage(), $component->serialize()); + } } } }