Better error messages when makerunnable fails
This commit is contained in:
parent
2e963a6aef
commit
b480eb9072
3 changed files with 48 additions and 33 deletions
|
@ -50,7 +50,8 @@ namespace Microsoft.DotNet.Cli
|
|||
}
|
||||
catch (GracefulException e)
|
||||
{
|
||||
Console.WriteLine(e.Message.Red().Bold());
|
||||
Console.WriteLine(CommandContext.IsVerbose() ? e.ToString().Red().Bold() : e.Message.Red().Bold());
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue