This commit is contained in:
2021-12-28 16:34:46 +00:00
parent 61d344d124
commit 69de8e028c

View File

@@ -193,7 +193,6 @@ export default {
// } // }
if (jobStatus == 4 || jobStatus == 0) { if (jobStatus == 4 || jobStatus == 0) {
/* /*
report template processing error example 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) { if (jobStatus == 3) {
/* /*