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