--- a/trunk/GoogleContactsSync/Syncronizer.cs
+++ b/trunk/GoogleContactsSync/Syncronizer.cs
@@ -238,7 +238,7 @@
{
string message = "Cannot connect to Outlook.\r\nPlease restart GO Contact Sync Mod and try again. If error persists, please inform developers on SourceForge.";
// Error again? We need full stacktrace, display it!
- ErrorHandler.Handle(new ApplicationException(message, ex));
+ throw new Exception(message, ex);
}
}
}
@@ -502,9 +502,11 @@
_matches = ContactsMatcher.MatchContacts(this, out duplicateDataException);
if (duplicateDataException != null)
{
- Logger.Log(duplicateDataException.Message, EventType.Error);
+
if (DuplicatesFound != null)
DuplicatesFound("Google duplicates found", duplicateDataException.Message, EventType.Error);
+ else
+ Logger.Log(duplicateDataException.Message, EventType.Error);
}
}
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.