Skip to content

Commit 1a10c89

Browse files
Merge branch 'zhiyuanliang/startup-timeout' of https://github.com/Azure/AppConfiguration-JavaScriptProvider into zhiyuanliang/startup-timeout
2 parents fe9ad2f + 7e63ad5 commit 1a10c89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/AzureAppConfigurationImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
381381
postAttempts += 1;
382382
backoffDuration = calculateBackoffDuration(postAttempts);
383383
}
384-
console.warn(`Failed to load. Error message: ${error.message}. It Will retry in ${backoffDuration} ms.`);
384+
console.warn(`Failed to load. Error message: ${error.message}. Retrying in ${backoffDuration} ms.`);
385385
await new Promise(resolve => setTimeout(resolve, backoffDuration));
386386
}
387387
} while (!abortSignal.aborted);

src/keyvault/AzureKeyVaultKeyValueAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ export class AzureKeyVaultKeyValueAdapter implements IKeyValueAdapter {
8080
}
8181

8282
function buildKeyVaultReferenceErrorMessage(message: string, setting: ConfigurationSetting, secretIdentifier?: string ): string {
83-
return `${message} Key: ${setting.key} Label: ${setting.label ?? ""} ETag: ${setting.etag ?? ""} SecretIdentifier: ${secretIdentifier ?? ""}`;
83+
return `${message} Key: '${setting.key}' Label: '${setting.label ?? ""}' ETag: '${setting.etag ?? ""}' SecretIdentifier: '${secretIdentifier ?? ""}'`;
8484
}

0 commit comments

Comments
 (0)