mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-20 06:03:06 +00:00
Fixes issue where invalid log-replace statements cause test crash
This commit is contained in:
parent
59692fafa3
commit
0ebe59ea2f
@ -54,6 +54,7 @@ namespace Logging
|
||||
|
||||
public void AddStringReplace(string from, string to)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(from)) return;
|
||||
replacements.Add(new BaseLogStringReplacement(from, to));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user