diff options
author | Julien Veyssier <julien-nc@posteo.net> | 2024-10-01 12:42:55 +0200 |
---|---|---|
committer | Julien Veyssier <julien-nc@posteo.net> | 2024-10-01 12:42:55 +0200 |
commit | 97fa54a6bb244792961aaf19d42f437d6d973972 (patch) | |
tree | 2bd457592c48e84d9becd61a253af0bbcc1185d6 | |
parent | 5434005bff41596b3c3ca8f930a1eddd1f001d66 (diff) | |
download | nextcloud-server-enh/noid/taskprocessing-include-error-msg-in-tasks.tar.gz nextcloud-server-enh/noid/taskprocessing-include-error-msg-in-tasks.zip |
feat(taskprocessing): include error message in tasks returned by the APIenh/noid/taskprocessing-include-error-msg-in-tasks
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
-rw-r--r-- | lib/public/TaskProcessing/Task.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/TaskProcessing/Task.php b/lib/public/TaskProcessing/Task.php index db8e4d7fab5..e9b74d17e2e 100644 --- a/lib/public/TaskProcessing/Task.php +++ b/lib/public/TaskProcessing/Task.php @@ -266,6 +266,7 @@ final class Task implements \JsonSerializable { 'appId' => $this->getAppId(), 'input' => $this->getInput(), 'output' => $this->getOutput(), + 'error_message' => $this->getErrorMessage(), 'customId' => $this->getCustomId(), 'completionExpectedAt' => $this->getCompletionExpectedAt()?->getTimestamp(), 'progress' => $this->getProgress(), |