We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eaf494 commit d397257Copy full SHA for d397257
src/Cli/dotnet/commands/dotnet-sln/add/Program.cs
@@ -53,6 +53,10 @@ public override int Execute()
53
}
54
catch (Exception ex)
55
{
56
+ if (ex is SolutionException || ex.InnerException is SolutionException)
57
+ {
58
+ throw new GracefulException(CommonLocalizableStrings.InvalidSolutionFormatString, solutionFileFullPath, ex.Message);
59
+ }
60
throw new GracefulException(ex.Message, ex);
61
62
0 commit comments