1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-14 15:40:06 +00:00

chore: small fix, error was not beign returned

This commit is contained in:
Mihajlo Medjedovic
2021-02-24 14:11:00 +01:00
parent e0051bf276
commit e48b22128d
3 changed files with 6 additions and 0 deletions

View File

@@ -60,6 +60,8 @@ export class ComputeJobExecutor extends BaseJobExecutor {
} }
) )
}) })
} else {
reject(new ErrorResponse(e?.message, e))
} }
}) })
}) })

View File

@@ -57,6 +57,8 @@ export class JesJobExecutor extends BaseJobExecutor {
} }
) )
}) })
} else {
reject(new ErrorResponse(e?.message, e))
} }
}) })
}) })

View File

@@ -123,6 +123,8 @@ export class WebJobExecutor extends BaseJobExecutor {
} }
) )
}) })
} else {
reject(new ErrorResponse(e?.message, e))
} }
}) })
}) })