aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ShiftOS_TheReturn/Commands.cs11
1 files changed, 2 insertions, 9 deletions
diff --git a/ShiftOS_TheReturn/Commands.cs b/ShiftOS_TheReturn/Commands.cs
index 9aae1f6..ed4d0e4 100644
--- a/ShiftOS_TheReturn/Commands.cs
+++ b/ShiftOS_TheReturn/Commands.cs
@@ -292,15 +292,8 @@ namespace ShiftOS.Engine
[Command("crash")]
public static bool CrashInstantly()
{
- try
- {
- throw new Exception("ShiftOS was sent a command to forcefully crash.");
- }
- catch (Exception e)
- {
- CrashHandler.Start(e);
- return true;
- }
+ CrashHandler.Start(new Exception("ShiftOS was sent a command to forcefully crash."));
+ return true;
}
}
#endif