You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->logger->warning('Could not find any calendars for principal ' . $principalUri);
384
+
$this->logger->warning('iMip message event could not be processed because the event is in the past');
351
385
returnfalse;
352
386
}
353
387
@@ -369,14 +403,14 @@ public function handleIMipReply(
369
403
}
370
404
371
405
if (empty($found)) {
372
-
$this->logger->info('Event not found in any calendar for principal' . $principalUri . 'and UID' . $vEvent->{'UID'}->getValue());
406
+
$this->logger->warning('iMip message event could not be processed because no corresponding event was found in any calendar ' . $principalUri . 'and UID' . $vEvent->{'UID'}->getValue());
373
407
returnfalse;
374
408
}
375
409
376
410
try {
377
411
$found->handleIMipMessage($name, $calendarData); // sabre will handle the scheduling behind the scenes
378
412
} catch (CalendarException$e) {
379
-
$this->logger->error('Could not update calendar for iMIP processing', ['exception' => $e]);
413
+
$this->logger->error('An error occurred while processing the iMip message event', ['exception' => $e]);
380
414
returnfalse;
381
415
}
382
416
returntrue;
@@ -393,29 +427,57 @@ public function handleIMipCancel(
$this->logger->warning('Could not find any calendars for principal ' . $principalUri);
499
+
$this->logger->warning('iMip message event could not be processed because the event is in the past');
445
500
returnfalse;
446
501
}
447
502
@@ -463,17 +518,15 @@ public function handleIMipCancel(
463
518
}
464
519
465
520
if (empty($found)) {
466
-
$this->logger->info('Event not found in any calendar for principal ' . $principalUri . 'and UID' . $vEvent->{'UID'}->getValue());
467
-
// this is a safe operation
468
-
// we can ignore events that have been cancelled but were not in the calendar anyway
469
-
returntrue;
521
+
$this->logger->warning('iMip message event could not be processed because no corresponding event was found in any calendar ' . $principalUri . 'and UID' . $vEvent->{'UID'}->getValue());
522
+
returnfalse;
470
523
}
471
524
472
525
try {
473
526
$found->handleIMipMessage($name, $calendarData); // sabre will handle the scheduling behind the scenes
474
527
returntrue;
475
528
} catch (CalendarException$e) {
476
-
$this->logger->error('Could not update calendar for iMIP processing', ['exception' => $e]);
529
+
$this->logger->error('An error occurred while processing the iMip message event', ['exception' => $e]);
0 commit comments