From 7f2fa390c73b2fcbc6a41a6ce9b0a396433bbe98 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sat, 20 Nov 2021 19:01:25 -0600 Subject: [PATCH] fix plugin error formatting --- Application/IW4MServer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/IW4MServer.cs b/Application/IW4MServer.cs index a04c6b6f9..412c8da81 100644 --- a/Application/IW4MServer.cs +++ b/Application/IW4MServer.cs @@ -246,7 +246,7 @@ namespace IW4MAdmin } catch (Exception ex) { - Console.WriteLine(loc["SERVER_PLUGIN_ERROR"].FormatExt(plugin.Name), ex.GetType().Name); + Console.WriteLine(loc["SERVER_PLUGIN_ERROR"].FormatExt(plugin.Name, ex.GetType().Name)); ServerLogger.LogError(ex, "Could not execute {methodName} for plugin {plugin}", nameof(plugin.OnEventAsync), plugin.Name); }