aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-10-26 11:35:55 +0200
committerGitHub <noreply@github.com>2023-10-26 11:35:55 +0200
commit154bb535380ad892e66d2a83be3e0622e9d7bba5 (patch)
tree574ae0810790d670066ce83a057f40776adbe918 /core/Controller
parent4e625f66355d74837a80b099411d92691f6d142a (diff)
downloadnextcloud-server-154bb535380ad892e66d2a83be3e0622e9d7bba5.tar.gz
nextcloud-server-154bb535380ad892e66d2a83be3e0622e9d7bba5.zip
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>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/TextToImageApiController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/TextToImageApiController.php b/core/Controller/TextToImageApiController.php
index 45443347ee0..13ce4658d59 100644
--- a/core/Controller/TextToImageApiController.php
+++ b/core/Controller/TextToImageApiController.php
@@ -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();