mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-15 01:52:54 +01:00
Some QoL improvements to debugging error log test failures
This commit is contained in:
@@ -27,7 +27,10 @@ namespace Tgstation.Server.Tests.Live
|
||||
&& !logMessage.StartsWith("Error disconnecting connection ")
|
||||
&& !(logMessage.StartsWith("An exception occurred while iterating over the results of a query for context type") && (exception is TaskCanceledException || exception?.InnerException is TaskCanceledException)))
|
||||
|| (logLevel == LogLevel.Critical && logMessage != "DropDatabase configuration option set! Dropping any existing database..."))
|
||||
failureSink(new AssertFailedException("TGS logged an error!"));
|
||||
{
|
||||
failureSink(new AssertFailedException("TGS logged an unexpected error!"));
|
||||
Console.WriteLine("UNEXPECTED ERROR OCCURS NEAR HERE");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user