1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-16 08:30:07 +00:00

chore: add comments

This commit is contained in:
2022-03-10 16:17:09 +05:00
parent 00a99e752c
commit e92d0d73b5

View File

@@ -85,10 +85,12 @@ export class Sas9JobExecutor extends BaseJobExecutor {
} }
) )
.then((res: any) => { .then((res: any) => {
//appending response to requests array that will be used for requests history reference
this.requestClient!.appendRequest(res, sasJob, config.debug) this.requestClient!.appendRequest(res, sasJob, config.debug)
return res return res
}) })
.catch((err: any) => { .catch((err: any) => {
//appending error to requests array that will be used for requests history reference
this.requestClient!.appendRequest(err, sasJob, config.debug) this.requestClient!.appendRequest(err, sasJob, config.debug)
return err return err
}) })