mirror of
https://github.com/sismics/docs.git
synced 2024-11-21 21:47: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