1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

chore: no need to appendRequest from then block when there is jobExecutionError

This commit is contained in:
2022-06-10 15:38:03 +05:00
parent 451d0906fa
commit a3cc274ef1

View File

@@ -177,8 +177,6 @@ export class WebJobExecutor extends BaseJobExecutor {
}
: res
this.requestClient!.appendRequest(resObj, sasJob, config.debug)
if (
this.serverType === ServerType.Sasjs &&
res.result._webout.length < 1
@@ -190,6 +188,8 @@ export class WebJobExecutor extends BaseJobExecutor {
)
}
this.requestClient!.appendRequest(resObj, sasJob, config.debug)
let jsonResponse = res.result
if (config.debug) {