summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();