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) { /*