updateProperties: catch exception when reading calendar data
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
dd424fcb7b
commit
ac3cc5211b
1 changed files with 6 additions and 1 deletions
|
@ -1970,7 +1970,12 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
|
|||
*/
|
||||
public function updateProperties($calendarId, $objectUri, $calendarData) {
|
||||
$objectId = $this->getCalendarObjectId($calendarId, $objectUri);
|
||||
$vCalendar = $this->readCalendarData($calendarData);
|
||||
|
||||
try {
|
||||
$vCalendar = $this->readCalendarData($calendarData);
|
||||
} catch (\Exception $ex) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->purgeProperties($calendarId, $objectId);
|
||||
|
||||
|
|
Loading…
Reference in a new issue