about summary refs log tree commit diff
path: root/gn3/computations/streaming.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/computations/streaming.py')
-rw-r--r--gn3/computations/streaming.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/streaming.py b/gn3/computations/streaming.py
index b5afb5b..78ce23b 100644
--- a/gn3/computations/streaming.py
+++ b/gn3/computations/streaming.py
@@ -33,7 +33,7 @@ def run_process(cmd, output_file, run_id):
         return {"msg": "error occurred", "error": "Process failed",
                 "code": process.returncode, "run_id": run_id}
     except subprocess.CalledProcessError as error:
-        return {"msg": "error occurred",
+        return {"msg": "error occurred", "code":error.returncode,
                 "error": str(error), "run_id": run_id}