diff options
Diffstat (limited to 'sheepdog')
-rw-r--r-- | sheepdog/worker.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sheepdog/worker.py b/sheepdog/worker.py index 6557ab3..c08edec 100644 --- a/sheepdog/worker.py +++ b/sheepdog/worker.py @@ -52,6 +52,7 @@ def run_jobs(conn, queue_name: str = "GN3::job-queue"): update_status(conn, cmd_id, "success") else: update_status(conn, cmd_id, "error") + conn.hset(cmd_id, "stderr", result.get("output")) return cmd_id return None |