mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 21:16:52 +01:00
Throw the failing error message in Live tests
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Tgstation.Server.Tests.Live
|
||||
&& !(logMessage.StartsWith("An exception occurred in the database while saving changes for context type") && (exception is OperationCanceledException || exception?.InnerException is OperationCanceledException)))
|
||||
|| (logLevel == LogLevel.Critical && logMessage != "DropDatabase configuration option set! Dropping any existing database..."))
|
||||
{
|
||||
failureSink(new AssertFailedException("TGS logged an unexpected error!"));
|
||||
failureSink(new AssertFailedException($"TGS ERR: {logMessage}"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user