fix plugin error formatting
This commit is contained in:
parent
a88b30562c
commit
7f2fa390c7
@ -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…
Reference in New Issue
Block a user