Skip to content

Add error message to output when call to gvfs/config endpoint fails#654

Merged
kewillford merged 1 commit into
microsoft:masterfrom
kewillford:config_error_message
Dec 30, 2018
Merged

Add error message to output when call to gvfs/config endpoint fails#654
kewillford merged 1 commit into
microsoft:masterfrom
kewillford:config_error_message

Conversation

@kewillford
Copy link
Copy Markdown
Member

This is to get more information about failures to the gvfs/config endpoint to the user so they have a better idea about what was failing instead of only "Unable to query /gvfs/config".

For example cloning a repo that doesn't exist gives you:

Unable to query /gvfs/config
Server returned error code 404 (NotFound). Original error message from server: TF200016: The following project does not exist: XYZProject. Verify that the name of the project is correct and that the project exists on the specified Azure DevOps Server.

Other possible error messages are in the HttpRequestor SendRequest method.

Copy link
Copy Markdown
Member

@nickgra nickgra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Kevin, this looks great!

@kewillford kewillford merged commit f09ce56 into microsoft:master Dec 30, 2018
@kewillford kewillford deleted the config_error_message branch December 30, 2018 18:58
@jrbriggs jrbriggs added this to the S147 milestone Feb 7, 2019
@jrbriggs jrbriggs added the affects: polish Good UX is hard label Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects: polish Good UX is hard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants