aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-08-02 20:15:46 -0400
committerMichael <[email protected]>2017-08-02 20:15:46 -0400
commit19fceb8326fc395bee1fd858ec6617564cbbac74 (patch)
treeab3c5c6f27c2d50be03efe0c608366e5c38b335f /ShiftOS_TheReturn
parent957e7bfcd2b6a0b54c94d283ff6c6623e95a5953 (diff)
downloadshiftos_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.cs6
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);
}
}