1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-04 11:10:05 +00:00

fix(job-failure): return original job object when a job has failed

This commit is contained in:
Krishna Acondy
2020-11-24 07:44:11 +00:00
parent 91005066cf
commit 6fee2548fd

View File

@@ -574,7 +574,7 @@ export class SASViyaApiClient {
}
if (jobStatus === 'failed' || jobStatus === 'error') {
return Promise.reject({ result: currentJob, log })
return Promise.reject({ job: currentJob, log })
}
let resultLink