diff --git a/src/ConsoleAppFramework/ConsoleAppEngine.cs b/src/ConsoleAppFramework/ConsoleAppEngine.cs index 809ac0c..66d83b5 100644 --- a/src/ConsoleAppFramework/ConsoleAppEngine.cs +++ b/src/ConsoleAppFramework/ConsoleAppEngine.cs @@ -400,7 +400,7 @@ bool TryGetInvokeArguments(ParameterInfo[] parameters, string?[] args, int argsO } catch (Exception ex) { - invokeArgs = null; + invokeArgs = default!; errorMessage = ex.Message; return false; }