Preserve expected ARM error classification

Keep the original ARM error when hosted key retrieval fails so authorization failures retain their classification through the outer configuration boundary.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 68ccefda-9e7d-4b01-a4db-e390810491ee
This commit is contained in:
Sung-Hyun Kang
2026-08-19 19:43:18 -05:00
parent ef89a7fc5a
commit 206105857d
+1 -1
View File
@@ -456,7 +456,7 @@ async function configureHostedWithAAD(config: AAD): Promise<Explorer> {
if (userContext.features.enableAadDataPlane) {
console.warn(e);
} else {
throw new Error(`List keys failed: ${e.message}`);
throw e;
}
}
updateUserContext({