From 655af03cf350e2e51baeac0c9abb0afcb20e524c Mon Sep 17 00:00:00 2001 From: Yury Shkoda Date: Thu, 25 Feb 2021 15:20:35 +0300 Subject: [PATCH] chore(error-handling): removed redundant catch block --- src/SASViyaApiClient.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/SASViyaApiClient.ts b/src/SASViyaApiClient.ts index a67d632..9dd85cf 100644 --- a/src/SASViyaApiClient.ts +++ b/src/SASViyaApiClient.ts @@ -884,9 +884,7 @@ export class SASViyaApiClient { waitForResult, pollOptions, printPid - ).catch((err) => { - throw prefixMessage(err, 'Error while executing script. ') - }) + ) } /**