Merge pull request #55607 from nextcloud/backport/55581/stable32

[stable32] fix(ooo): don't catch general DB exceptions
This commit is contained in:
Richard Steinmetz 2025-10-07 16:32:14 +02:00 committed by GitHub
commit abb37a062d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,7 @@ class OutOfOfficeEventDispatcherJob extends QueuedJob {
try {
$absence = $this->absenceMapper->findById($id);
} catch (DoesNotExistException|\OCP\DB\Exception $e) {
} catch (DoesNotExistException $e) {
$this->logger->error('Failed to dispatch out-of-office event: ' . $e->getMessage(), [
'exception' => $e,
'argument' => $argument,