Merge pull request #2744 from cdmihai/cdmihai/throwWhenRedirectingBadDlls
Add exception handling when makerunable fails
This commit is contained in:
commit
57a684c912
3 changed files with 48 additions and 33 deletions
|
@ -58,7 +58,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;
|
||||
}
|
||||
finally
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue