Skip to content

Commit d70d9a4

Browse files
committed
Simplify data-plane fallback notice
1 parent 886b359 commit d70d9a4

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

CosmosDBShell/Azure.Data.Cosmos.Shell.Core/ShellInterpreter.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -994,12 +994,9 @@ private async Task CompleteTokenConnectionAsync(
994994
// they explicitly opted into ARM via --subscription/--resource-group/--account.
995995
throw;
996996
}
997-
catch (Exception ex) when (!explicitlyRequested)
997+
catch (Exception) when (!explicitlyRequested)
998998
{
999-
WriteLine(MessageService.GetArgsString(
1000-
"shell-connect-arm-discovery-failed",
1001-
"message",
1002-
ex.Message));
999+
WriteLine(MessageService.GetString("shell-connect-arm-discovery-failed"));
10031000
return null;
10041001
}
10051002
}

CosmosDBShell/lang/en.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ shell-connect-static-token-expiry = Expires in { $timespan } (expiration: { $exp
1010
shell-connect-vscode-credential-auth = Connecting with Visual Studio Code credential...
1111
shell-connect-vscode-credential-fallback = Visual Studio Code credential unavailable, falling back...
1212
shell-connect-devicecode-fallback = Browser authentication failed, falling back to device code authentication...
13-
shell-connect-arm-discovery-failed = ARM context unavailable ({ $message }); using Cosmos DB data plane.
13+
shell-connect-arm-discovery-failed = Using Cosmos DB data plane.
1414
history-search-reverse = reverse-i-search
1515
history-search-forward = forward-i-search
1616
history-search-failed-reverse = failed reverse-i-search

0 commit comments

Comments
 (0)