We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0f5f1e commit f1e683eCopy full SHA for f1e683e
src/AzureAppConfigurationImpl.ts
@@ -260,7 +260,7 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
260
await new Promise(resolve => setTimeout(resolve, MIN_DELAY_FOR_UNHANDLED_FAILURE - timeElapsed));
261
}
262
263
- throw new Error(`Failed to load: ${error.message}`);
+ throw new Error("Failed to load.", { cause: error });
264
} finally {
265
clearTimeout(timeoutId); // cancel the timeout promise
266
0 commit comments