Update PoolTestLogHandler.cs

(cherry picked from commit 9ab44b0d84749484f0ff9f5e13f5f646205d113f)
This commit is contained in:
VMSolidus
2025-01-18 17:08:18 -05:00
committed by Spatison
parent a69b1b43e1
commit 5c65d40e80

View File

@@ -42,6 +42,11 @@ public sealed class PoolTestLogHandler : ILogHandler
{
var level = message.Level.ToRobust();
// Ignore Sawmill Warnings. This means tests will only fail on debug asserts.
// Remove this when we fix the loadout performance issue.
if (level == LogLevel.Warning)
return;
if (ShuttingDown && (FailureLevel == null || level < FailureLevel))
return;