[BUG] Resolve network root sometimes not working with WARN ArgumentOutOfRangeException: Length cannot be less than zero. (Parameter 'length') #129

This commit is contained in:
tanjalibertatis 2020-09-26 16:48:37 +02:00
parent 6b5772bbd8
commit da00b14494

View file

@ -28,8 +28,8 @@ namespace SystemTrayMenu.Utilities
{
if (!infos.Contains(message))
{
LogValue.Info(message);
infos.Add(message);
LogValue.Info(message);
}
}
@ -38,8 +38,8 @@ namespace SystemTrayMenu.Utilities
string warning = $"{message} {ex.ToString().Replace(Environment.NewLine, " ", StringComparison.InvariantCulture)}";
if (!warnings.Contains(warning))
{
LogValue.Warn(warning);
warnings.Add(warning);
LogValue.Warn(warning);
}
}