Update core/Controller/TextToImageApiController.php

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2023-10-26 11:35:55 +02:00 committed by GitHub
parent 4e625f6635
commit 154bb53538
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,7 @@ class TextToImageApiController extends \OCP\AppFramework\OCSController {
try {
$this->textToImageManager->runOrScheduleTask($task);
} catch (TaskFailureException) {
// noop
// Task status was already updated by the manager, nothing to do here
}
$json = $task->jsonSerialize();