diff options
author | Frederick Muriuki Muriithi | 2023-01-12 11:42:19 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-01-12 11:42:19 +0300 |
commit | 4666392bbc34e693f21895ccb62abb816ff95874 (patch) | |
tree | c7f55c49e1f17ebfed6167b345f72906580fab3b /wqflask | |
parent | cebb76ce2da80f808d420327316de121efbdd230 (diff) | |
download | genenetwork2-4666392bbc34e693f21895ccb62abb816ff95874.tar.gz |
bug: use stderr in case of job errors
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/views.py | 2 |
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") |