mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
fix(ooo): don't catch general DB exceptions
Signed-off-by: Anna Larch <anna@nextcloud.com>
This commit is contained in:
parent
c609dd20b4
commit
2d21413367
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