Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Improve dotnet-user-secret error message when project path is invalid #171

Closed
natemcmaster opened this issue Sep 20, 2016 · 1 comment
Closed

Comments

@natemcmaster
Copy link
Contributor

From @dougbu on May 12, 2016 17:16

The error message displayed when {path} is invalid is not descriptive and references an argument rather than the command-line option.

For example,

dotnet user-secrets list --project \garbage

Results in

critical: Command failed : The directory name C:\garbage\ is invalid.
Parameter name: path

Note the parameter name mentioned above is inconsistent w/ the in #77. It's the same command-line option and the parameter should also be the same.

Copied from original issue: aspnet/UserSecrets#78

@natemcmaster
Copy link
Contributor Author

From @muratg on May 26, 2016 6:18

Fit & finish bug. Moving to 1.0.1 for now.

@natemcmaster natemcmaster added this to the 1.1.0 milestone Sep 20, 2016
@natemcmaster natemcmaster self-assigned this Sep 20, 2016
@natemcmaster natemcmaster changed the title Improve dotnet user-secrets {command} --project {path} error messages Improve dotnet-user-secret error message when project path is invalid Sep 20, 2016
@danroth27 danroth27 modified the milestones: 1.1.0-preview1, 1.0.0-preview3 Oct 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants