[chore:] logging for AddressShortener.cs

This commit is contained in:
2026-05-16 15:09:50 +02:00
parent 10dfd1e080
commit cdc4fb70cd
+7 -2
View File
@@ -12,7 +12,8 @@ public class AddressShortener(ProgressWindow progressWindow)
public async Task Perform(KasAddressList list)
{
// find doubled addresses by refsid
try
{
List<int> doubled_ids = new List<int>();
for (int i = 0; i < list.KasPersons.Count; i++)
{
@@ -73,7 +74,11 @@ public class AddressShortener(ProgressWindow progressWindow)
// does this remove both of the doubled addresses?
list.KasPersons.Remove(list.KasPersons.Find(x => x.id == id));
}
}
catch (Exception ex)
{
Logger.Log($"Error while performing address shortener: {ex.Message}", Logger.LogType.Error);
}
//return null;
}
}