-
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
When using Oakton my team would like to handle exceptions for all commands in Program.cs. Right now exceptions are swallowed here:
catch (Exception ex)
{
AnsiConsole.Write("[red]ERROR:[/]");
AnsiConsole.WriteException(ex);
return 1;
}
in Program one might assume/desire for this to throw an exception:
await executor.ExecuteAsync(args);
maybe opt-in setting on CommandFactory
when configuring your CommandExecutor
?
mausch, inkvizytor and Longor1996
Metadata
Metadata
Assignees
Labels
No labels