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