File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 22// Licensed under the MIT license.
33
44import { isRestError } from "@azure/core-rest-pipeline" ;
5- import { AuthenticationError } from "@azure/identity" ;
65
76/**
87 * Error thrown when an operation cannot be performed by the Azure App Configuration provider.
@@ -42,8 +41,7 @@ export function isFailoverableError(error: any): boolean {
4241}
4342
4443export function isRetriableError ( error : any ) : boolean {
45- if ( error instanceof AuthenticationError || // this error occurs when using wrong credential to access the key vault
46- error instanceof ArgumentError || // this error is caused by misconfiguration of the Azure App Configuration provider
44+ if ( error instanceof ArgumentError ||
4745 error instanceof OperationError ||
4846 error instanceof TypeError ||
4947 error instanceof RangeError ) {
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export class AzureKeyVaultKeyValueAdapter implements IKeyValueAdapter {
4747
4848 // When code reaches here, it means the key vault secret reference is not resolved.
4949
50- throw new ArgumentError ( "Failed to process the key vault reference. No key vault credential or secret resolver callback is configured." ) ;
50+ throw new ArgumentError ( "Failed to process the key vault reference. No key vault secret client, credential or secret resolver callback is configured." ) ;
5151 }
5252
5353 /**
Original file line number Diff line number Diff line change 11// Copyright (c) Microsoft Corporation.
22// Licensed under the MIT license.
33
4- import { ArgumentError } from "../error.js" ;
5-
64export class RefreshTimer {
75 #backoffEnd: number ; // Timestamp
86 #interval: number ;
You can’t perform that action at this time.
0 commit comments