mirror of
https://github.com/nextcloud/server.git
synced 2026-04-26 00:27:49 -04:00
Merge pull request #55581 from nextcloud/fix/noid/dont-catch-general-db-errors
fix(ooo): don't catch general DB exceptions
This commit is contained in:
commit
87c90f9678
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