-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Azure SSH: provide user friendly error messages (#152)
This PR applies a small refactor that improves the error handling of during auth steps for the Azure SSH plugin. When a user cancels their login attempt or if we fail to set the users active Azure subscription. The refactor introduces a knew `KnownError` type and a utility method `normalizeAzureCliError` that should make it easy to extend and capture new errors as we discover them.
- Loading branch information
Showing
3 changed files
with
80 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters