aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-01-12 11:42:19 +0300
committerFrederick Muriuki Muriithi2023-01-12 11:42:19 +0300
commit4666392bbc34e693f21895ccb62abb816ff95874 (patch)
treec7f55c49e1f17ebfed6167b345f72906580fab3b
parentcebb76ce2da80f808d420327316de121efbdd230 (diff)
downloadgenenetwork2-4666392bbc34e693f21895ccb62abb816ff95874.tar.gz
bug: use stderr in case of job errors
-rw-r--r--wqflask/wqflask/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index a7a43a22..466de7da 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -874,7 +874,7 @@ def corr_compute_page():
return render_template("correlation_page.html", **output)
if jobs.completed_erroneously(job):
- output = json.loads(job.get("stdout", "{}"))
+ output = json.loads(job.get("stderr", "{}"))
return render_template("correlation_error_page.html", error=output)
return render_template("loading_corrs.html")