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);
373
+
$this->logger->warning('iMip message event could not be processed because the event is in the past');
351
374
returnfalse;
352
375
}
353
376
@@ -369,14 +392,14 @@ public function handleIMipReply(
369
392
}
370
393
371
394
if (empty($found)) {
372
-
$this->logger->info('Event not found in any calendar for principal' . $principalUri . 'and UID' . $vEvent->{'UID'}->getValue());
395
+
$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
396
returnfalse;
374
397
}
375
398
376
399
try {
377
400
$found->handleIMipMessage($name, $calendarData); // sabre will handle the scheduling behind the scenes
378
401
} catch (CalendarException$e) {
379
-
$this->logger->error('Could not update calendar for iMIP processing', ['exception' => $e]);
402
+
$this->logger->error('An error occurred while processing the iMip message event', ['exception' => $e]);
380
403
returnfalse;
381
404
}
382
405
returntrue;
@@ -393,29 +416,52 @@ public function handleIMipCancel(
$this->logger->warning('Could not find any calendars for principal ' . $principalUri);
483
+
$this->logger->warning('iMip message event could not be processed because the event is in the past');
445
484
returnfalse;
446
485
}
447
486
@@ -463,17 +502,15 @@ public function handleIMipCancel(
463
502
}
464
503
465
504
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;
505
+
$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());
506
+
returnfalse;
470
507
}
471
508
472
509
try {
473
510
$found->handleIMipMessage($name, $calendarData); // sabre will handle the scheduling behind the scenes
474
511
returntrue;
475
512
} catch (CalendarException$e) {
476
-
$this->logger->error('Could not update calendar for iMIP processing', ['exception' => $e]);
513
+
$this->logger->error('An error occurred while processing the iMip message event', ['exception' => $e]);
0 commit comments