This commit is contained in:
@@ -172,11 +172,6 @@ export default {
|
||||
`job-operations/logs/${jobId}`
|
||||
);
|
||||
|
||||
console.log("report error", {
|
||||
jobStatus,
|
||||
jobLogRes
|
||||
});
|
||||
|
||||
//get final entry is error or success
|
||||
var finalJobLogMessage = jobLogRes.data[jobLogRes.data.length - 1];
|
||||
const finalJobLogObject = JSON.parse(finalJobLogMessage.statusText);
|
||||
@@ -204,7 +199,7 @@ export default {
|
||||
`${this.$store.state.helpUrl}/ay-report-timeout`
|
||||
);
|
||||
//we're done here
|
||||
this.reject(this.$ay.t("JobFailed"));
|
||||
return this.reject(this.$ay.t("JobFailed"));
|
||||
} else {
|
||||
//exception
|
||||
e = `${this.$ay.t("JobFailed")}: ${
|
||||
@@ -216,6 +211,7 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
console.log("throwing");
|
||||
throw new Error(e);
|
||||
}
|
||||
if (jobStatus == 3) {
|
||||
|
||||
Reference in New Issue
Block a user