Updates the error message and calls RequestRestart() to handle it

This commit is contained in:
Cyberboss
2017-09-01 14:43:52 -04:00
parent de974efdb5
commit 54ea32f8a6
+2 -1
View File
@@ -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();
}
}
}