mirror of
https://github.com/nextcloud/server.git
synced 2026-03-29 05:43:57 -04:00
Merge pull request #55607 from nextcloud/backport/55581/stable32
[stable32] fix(ooo): don't catch general DB exceptions
This commit is contained in:
commit
abb37a062d
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue