We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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; }
Command Executor line 54
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?
CommandFactory
CommandExecutor
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using Oakton my team would like to handle exceptions for all commands in Program.cs. Right now exceptions are swallowed here:
Command Executor line 54
in Program one might assume/desire for this to throw an exception:
await executor.ExecuteAsync(args);
maybe opt-in setting on
CommandFactory
when configuring yourCommandExecutor
?The text was updated successfully, but these errors were encountered: