diff options
| author | Michael <[email protected]> | 2017-08-02 20:15:46 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-08-02 20:15:46 -0400 |
| commit | 19fceb8326fc395bee1fd858ec6617564cbbac74 (patch) | |
| tree | ab3c5c6f27c2d50be03efe0c608366e5c38b335f /ShiftOS_TheReturn | |
| parent | 957e7bfcd2b6a0b54c94d283ff6c6623e95a5953 (diff) | |
| download | shiftos_thereturn-19fceb8326fc395bee1fd858ec6617564cbbac74.tar.gz shiftos_thereturn-19fceb8326fc395bee1fd858ec6617564cbbac74.tar.bz2 shiftos_thereturn-19fceb8326fc395bee1fd858ec6617564cbbac74.zip | |
Port a mini version of cowsay over to shiftos
Diffstat (limited to 'ShiftOS_TheReturn')
| -rw-r--r-- | ShiftOS_TheReturn/TerminalBackend.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ShiftOS_TheReturn/TerminalBackend.cs b/ShiftOS_TheReturn/TerminalBackend.cs index 4e7392e..2292076 100644 --- a/ShiftOS_TheReturn/TerminalBackend.cs +++ b/ShiftOS_TheReturn/TerminalBackend.cs @@ -233,10 +233,14 @@ namespace ShiftOS.Engine CommandHandler.Invoke(null, new[] { args }); } - catch + catch (System.Reflection.TargetParameterCountException) { CommandHandler.Invoke(null, null); } + catch(Exception ex) + { + Console.WriteLine(ex.Message); + } CommandFinished?.Invoke(Localization.Parse(this.CommandInfo.name), args); } } |
