Fix the server not reporting startup errors correctly.

This commit is contained in:
quake1337 2021-07-13 21:39:20 +02:00
parent 48370d74b7
commit f7c550a8ad

View file

@ -387,8 +387,8 @@ namespace TShockAPI
}
catch (Exception ex)
{
Log.Error("Fatal Startup Exception");
Log.Error(ex.ToString());
Log.ConsoleError("Fatal Startup Exception");
Log.ConsoleError(ex.ToString());
Environment.Exit(1);
}
}