mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-20 19:30:31 +12:00
[BUG] Resolve network root sometimes not working with WARN ArgumentOutOfRangeException: Length cannot be less than zero. (Parameter 'length') #129
This commit is contained in:
parent
6b5772bbd8
commit
da00b14494
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue