Fix a bunch of logger warnings (#17691)

This commit is contained in:
metalgearsloth
2023-06-27 23:56:52 +10:00
committed by GitHub
parent 4d1ab16ed8
commit 90110183be
31 changed files with 56 additions and 49 deletions

View File

@@ -130,13 +130,13 @@ namespace Content.Server.Administration.Systems
if (!match.Success)
{
// TODO: Ideally, CVar validation during setting should be better integrated
Logger.Warning("Webhook URL does not appear to be valid. Using anyways...");
Log.Warning("Webhook URL does not appear to be valid. Using anyways...");
return;
}
if (match.Groups.Count <= 2)
{
Logger.Error("Could not get webhook ID or token.");
Log.Error("Could not get webhook ID or token.");
return;
}