From 69de8e028c4aa81e66dc9a947d5360058bab32a1 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 28 Dec 2021 16:34:46 +0000 Subject: [PATCH] --- ayanova/src/components/report-control.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ayanova/src/components/report-control.vue b/ayanova/src/components/report-control.vue index 528c9cbf..25db260b 100644 --- a/ayanova/src/components/report-control.vue +++ b/ayanova/src/components/report-control.vue @@ -193,7 +193,6 @@ export default { // } if (jobStatus == 4 || jobStatus == 0) { - /* report template processing error example { @@ -203,7 +202,9 @@ export default { } */ - throw new Error("Job failed"); + const o = JSON.parse(finalEntry.statusText); + console.log("Error object", o); + throw new Error(o); } if (jobStatus == 3) { /*