fix plugin error formatting
This commit is contained in:
parent
d93bfc11d0
commit
61a131be9d
@ -246,7 +246,7 @@ namespace IW4MAdmin
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
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}",
|
ServerLogger.LogError(ex, "Could not execute {methodName} for plugin {plugin}",
|
||||||
nameof(plugin.OnEventAsync), plugin.Name);
|
nameof(plugin.OnEventAsync), plugin.Name);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user