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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user