Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
private async faultTolerantRequest(options: Options) {
try {
return await retry(async () => request(options), this.attemptOptions);
} catch (err) {
throw new IgNetworkError(err);
}
}
async faultTolerantRequest(options) {
try {
return await attempt_1.retry(async () => request(options), this.attemptOptions);
}
catch (err) {
throw new errors_1.IgNetworkError(err);
}
}
getDefaultHeaders() {