Improved error message when server fails to start

This commit is contained in:
Chomp
2025-11-06 13:32:59 +00:00
parent 8ad953a224
commit e191835824
+3 -2
View File
@@ -1,6 +1,5 @@
using System.Net;
using System.Net.Sockets;
using System.Runtime;
using System.Runtime.InteropServices;
using System.Security.Authentication;
using System.Text;
@@ -44,7 +43,9 @@ public static class Program
catch (Exception e)
{
Console.WriteLine("=========================================================================================================");
Console.WriteLine("The server has unexpectedly stopped, please check your log files and reach out to #spt-support in discord");
Console.WriteLine(
"The server has unexpectedly stopped, reach out to #spt-support in discord, create a support thread by following the instructions found in #support-guidelines. Also include a screenshot of this message + the below error"
);
Console.WriteLine(e);
Console.WriteLine("=========================================================================================================");
Console.WriteLine("Press any key to exit...");