From d5c891aad1c6fa6b398ddbe872b775604f554d20 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 12 Jan 2023 13:03:42 +0300 Subject: Revert "bug: use stderr in case of job errors" This reverts commit 4666392bbc34e693f21895ccb62abb816ff95874. --- wqflask/wqflask/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index 466de7da..a7a43a22 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("stderr", "{}")) + output = json.loads(job.get("stdout", "{}")) return render_template("correlation_error_page.html", error=output) return render_template("loading_corrs.html") -- cgit v1.2.3