mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix: run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
f6f4965294
commit
eff862b583
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ class SynchronousBackgroundJob extends QueuedJob {
|
|||
return;
|
||||
}
|
||||
try {
|
||||
$output = $provider->process($task->getUserId(), $input, fn(float $progress) => $this->taskProcessingManager->setTaskProgress($task->getId(), $progress));
|
||||
$output = $provider->process($task->getUserId(), $input, fn (float $progress) => $this->taskProcessingManager->setTaskProgress($task->getId(), $progress));
|
||||
} catch (ProcessingException $e) {
|
||||
$this->logger->warning('Failed to process a TaskProcessing task with synchronous provider ' . $provider->getId(), ['exception' => $e]);
|
||||
$this->taskProcessingManager->setTaskResult($task->getId(), $e->getMessage(), null);
|
||||
|
|
|
|||
Loading…
Reference in a new issue