Change ArgumentException to CommandException for PackagePath
argument
#10391
Labels
Area:Logging
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Product:dotnet.exe
Product:NuGet.exe
NuGet.exe
Type:Bug
In a PR review comment, @kartheekp-ms suggested switching from ArgumentException/ArgumentNullException to CommandException here. I think that makes sense.
/cc @dominoFire to see if you agree with the following...
NuGet/NuGet.Client#3799 (comment)
Code: https://github.com/NuGet/NuGet.Client/blob/a52c0addf437f4e358f786acadd4c91a2c80f9b6/src/NuGet.Clients/NuGet.CommandLine/Commands/AddCommand.cs#L31-L35
The text was updated successfully, but these errors were encountered: