mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-07 21:58:06 -05:00
fix plugin error formatting
This commit is contained in:
parent
c8c334327e
commit
882175401e
@ -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