1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-15 18:54:36 +00:00

fix(compute-api): ignore 404s when requesting webout content

This commit is contained in:
Krishna Acondy
2020-08-08 14:26:09 +01:00
parent 1258a1a180
commit f7a9b0cbb6

View File

@@ -304,12 +304,14 @@ export class SASViyaApiClient {
`${this.serverUrl}${resultLink}`,
{ headers },
"text"
);
).catch((e) => ({
result: JSON.stringify(e),
}));
}
if (true && logLink) {
log = await this.request<any>(
`${this.serverUrl}${logLink.href}/content`,
`${this.serverUrl}${logLink.href}/content?limit=10000`,
{
headers,
}