diff --git a/ChaosBot/Program.cs b/ChaosBot/Program.cs index 0567613..8753e13 100644 --- a/ChaosBot/Program.cs +++ b/ChaosBot/Program.cs @@ -35,7 +35,7 @@ namespace ChaosBot catch (Exception ex) { Console.Write($"{MethodBase.GetCurrentMethod()?.ReflectedType?.FullName}: Exception [{ex}] thrown, <[{ex.Message}]>.\n{ex.StackTrace}"); - return; + Environment.Exit(1); } /* @@ -53,6 +53,7 @@ namespace ChaosBot catch (Exception ex) { LoggingFacade.Exception(ex); + Environment.Exit(1); } }