Skip to content

Conversation

@houk-ms
Copy link
Contributor

@houk-ms houk-ms commented Nov 10, 2020

Description

This PR removes the error type info in the error message. For feature request #15692

Testing Guide

Type any command which could cause an UserFault, e.g, az vm create

Previously

RequiredArgumentMissingError: the following arguments are required: --name/-n, --resource-group/-g
Try this: 'az vm create -n <MyVm> -g <MyResourceGroup> --image <UbuntuLTS>'
Still stuck? Run 'az vm create --help' to view all commands or go to 'https://docs.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest' to learn more

Now

the following arguments are required: --name/-n, --resource-group/-g
Try this: 'az vm create -n <MyVm> -g <MyResourceGroup> --image <UbuntuLTS>'
Still stuck? Run 'az vm create --help' to view all commands or go to 'https://docs.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest' to learn more

@yungezz
Copy link
Member

yungezz commented Nov 12, 2020

Prefer to not removing error type given error message will be not consistent

@houk-ms
Copy link
Contributor Author

houk-ms commented Dec 23, 2020

Supported in #16257

Close this PR.

@houk-ms houk-ms closed this Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants