Closes #189: Ignore folderclosedexception on imap scanning

This commit is contained in:
Benjamin Gamard 2018-03-05 14:11:32 +01:00
parent 4f6de892b5
commit 1479b818ea

View File

@ -88,6 +88,8 @@ public class InboxService extends AbstractScheduledService {
importMessage(message);
lastSyncMessageCount++;
}
} catch (FolderClosedException e) {
// Ignore this, we will just continue importing on the next cycle
} catch (Exception e) {
log.error("Error synching the inbox", e);
lastSyncError = e.getMessage();