From f7c550a8adc6abf0648b741fedce0726c58db499 Mon Sep 17 00:00:00 2001 From: quake1337 <3310937+bartico6@users.noreply.github.com> Date: Tue, 13 Jul 2021 21:39:20 +0200 Subject: [PATCH] Fix the server not reporting startup errors correctly. --- TShockAPI/TShock.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index bc1d26e7..996463e1 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -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); } }