improve error message for unresolved tools

This commit is contained in:
Krzysztof Wicher 2016-04-12 16:44:34 -07:00
parent aed81d43db
commit 0b746ee559
4 changed files with 47 additions and 5 deletions

View file

@ -34,13 +34,11 @@ namespace Microsoft.DotNet.Cli
{
return Program.ProcessArgs(args, new Telemetry());
}
catch (CommandUnknownException e)
catch (GracefulException e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.Message.Red().Bold());
return 1;
}
}
internal static int ProcessArgs(string[] args, ITelemetry telemetryClient)