1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-18 09:30:06 +00:00

fix(job execute): details for failing job

This commit is contained in:
Saad Jutt
2020-11-24 04:16:18 +05:00
parent e1f17ef47d
commit 91005066cf

View File

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