1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-07 20:40:05 +00:00

fix(job-execution): fixed webout for SASJS server type

This commit is contained in:
Yury Shkoda
2023-05-04 10:57:24 +03:00
parent da7579a2bb
commit 2d6efa2437
4 changed files with 62 additions and 17 deletions

View File

@@ -17,6 +17,7 @@ export const getValidJson = (str: string | object): object => {
return JSON.parse(str)
} catch (e: any) {
if (e instanceof JsonParseArrayError) throw e
throw new InvalidJsonError()
}
}