mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Supress log errors in testing
This commit is contained in:
parent
d79277af74
commit
4c6f34cae5
@ -18,7 +18,17 @@ namespace Wabbajack.VirtualFileSystem.Test
|
||||
public FileExtractorTests(ITestOutputHelper helper)
|
||||
{
|
||||
_helper = helper;
|
||||
_unsub = Utils.LogMessages.Subscribe(f => _helper.WriteLine(f.ShortDescription));
|
||||
_unsub = Utils.LogMessages.Subscribe(f =>
|
||||
{
|
||||
try
|
||||
{
|
||||
_helper.WriteLine(f.ShortDescription);
|
||||
}
|
||||
catch (Exception _)
|
||||
{
|
||||
// ignored
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public async Task InitializeAsync()
|
||||
|
Loading…
Reference in New Issue
Block a user