1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-10 17:04:36 +00:00

fix(request): returned response with log

This commit is contained in:
Yury Shkoda
2021-05-13 17:29:48 +03:00
parent 8c30cbff13
commit 53a7b1c9e6

View File

@@ -33,7 +33,7 @@ export class JesJobExecutor extends BaseJobExecutor {
.then((response) => {
this.appendRequest(response, sasJob, config.debug)
resolve(response.result)
resolve(response)
})
.catch(async (e: Error) => {
if (e instanceof JobExecutionError) {