From 54ea32f8a6791c8353ac22f208d9894fbf24b15e Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Fri, 1 Sep 2017 14:43:52 -0400 Subject: [PATCH] Updates the error message and calls RequestRestart() to handle it --- TGServerService/Interop.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TGServerService/Interop.cs b/TGServerService/Interop.cs index 6d0652b7ec..8dec4f1df1 100644 --- a/TGServerService/Interop.cs +++ b/TGServerService/Interop.cs @@ -243,7 +243,8 @@ namespace TGServerService catch (Exception e) { TGServerService.WriteError("Nudge handler thread crashed: " + e.ToString(), TGServerService.EventID.NudgeCrash); - SendMessage("SERVICE: The relay handler crashed, use relayrestart to restore it! Error: " + e.Message, ChatMessageType.AdminInfo); + SendMessage("SERVICE: The relay handler crashed, I will attempt to restore it when the server reboots! Error: " + e.Message, ChatMessageType.AdminInfo); + RequestRestart(); } } }