[DCR]: VS Credential Provider exception messages are not displayed by NuGet in Output/Error List window logs. #12068
Labels
Area:Authentication
Area:ErrorHandling
warnings and errors/log messages & related error codes.
Category:Quality Week
Issues that should be considered for quality week
Partner:VS-Other
Priority:2
Issues for the current backlog.
Product:VS.Client
Type:DCR
Design Change Request
NuGet Product(s) Affected
Visual Studio Package Management UI
Current Behavior
While accessing private Azure DevOps feeds in Visual Studio, sometimes users may get 401 unauthorized errors because of state accounts, bad credentials etc., Visual Studio adds
Unable to load service index from source: {source URL}. Response status code from the server didn't indicate success 401 (unauthorized).
message to theOutput -> Package Manager
window and an entry to theError List
window. In few cases VS Credential Provider provides some additional information in the exception that may help customers to resolve the problem. Unfortunately, this information is not displayed to the user by NuGet.Desired Behavior
Display VS Credential Provider additional information in the exception to the customer in Visual Studio so that the error message is more actionable. In few cases the action may resolve user error and helps customers to access their private feeds from the comfort of their VS IDE.
Additional Context
Repro steps
The text was updated successfully, but these errors were encountered: