Log unexpected exceptions on sync failure (#569)

This commit is contained in:
Sean Chen
2025-02-17 04:15:31 +08:00
committed by GitHub
parent 18a91f9223
commit bca62033a1

View File

@@ -653,9 +653,9 @@ public class ImapSynchronizer : WinoSynchronizer<ImapRequest, ImapMessageCreatio
{
// Ignore cancellations.
}
catch (Exception)
catch (Exception ex)
{
_logger.Error(ex, "Synchronization failed for folder {FolderName}", folder.FolderName);
}
finally
{