From e8a33885213805dd4b0efd5d22f362446f16bf8a Mon Sep 17 00:00:00 2001 From: Carver Harrison Date: Sun, 22 Jan 2017 10:04:59 -0800 Subject: [PATCH] Update Commands.cs --- ShiftOS_TheReturn/Commands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShiftOS_TheReturn/Commands.cs b/ShiftOS_TheReturn/Commands.cs index 23017e0..fe4254b 100644 --- a/ShiftOS_TheReturn/Commands.cs +++ b/ShiftOS_TheReturn/Commands.cs @@ -93,7 +93,7 @@ namespace ShiftOS.Engine if (args.ContainsKey("file")) - file = args["file"] as string; + file = args["file"] as string;F else throw new Exception("No 'file' argument provided."); @@ -127,7 +127,7 @@ namespace ShiftOS.Engine } catch (Exception ex) { - Console.WriteLine("{ERROR}: " + ex.Exception); + Console.WriteLine("{ERROR}: " + ex.Message); } return true; }