Skip to content

Commit

Permalink
Update PoolTestLogHandler.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
VMSolidus committed Jan 18, 2025
1 parent 85df476 commit 9ab44b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Content.IntegrationTests/PoolTestLogHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ public void Log(string sawmillName, LogEvent message)
{
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;

Expand Down

0 comments on commit 9ab44b0

Please sign in to comment.