We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 509d433 commit 85c94d8Copy full SHA for 85c94d8
1 file changed
CLI/Program.cs
@@ -143,11 +143,11 @@ public static void LogAndRestart(Exception ex)
143
Logger.LogError(ex);
144
FileLogger.Flush(null);
145
Thread.Sleep(500);
146
- if (Server.Config.restartOnError)
147
- {
148
- Thread stopThread = Server.Stop(true, "Server restart - unhandled error");
149
- stopThread.Join();
150
- }
+ //if (Server.Config.restartOnError)
+ //{
+ Thread stopThread = Server.Stop(true, "Server restart - unhandled error");
+ stopThread.Join();
+ //}
151
}
152
public static void GlobalExHandler(object sender, UnhandledExceptionEventArgs e)
153
{
0 commit comments