mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 05:57:57 +01:00
Closes #189: Ignore folderclosedexception on imap scanning
This commit is contained in:
parent
4f6de892b5
commit
1479b818ea
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user