1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-10 13:50:05 +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 : res
this.requestClient!.appendRequest(resObj, sasJob, config.debug)
if ( if (
this.serverType === ServerType.Sasjs && this.serverType === ServerType.Sasjs &&
res.result._webout.length < 1 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 let jsonResponse = res.result
if (config.debug) { if (config.debug) {