mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 15:17: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);
|
importMessage(message);
|
||||||
lastSyncMessageCount++;
|
lastSyncMessageCount++;
|
||||||
}
|
}
|
||||||
|
} catch (FolderClosedException e) {
|
||||||
|
// Ignore this, we will just continue importing on the next cycle
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("Error synching the inbox", e);
|
log.error("Error synching the inbox", e);
|
||||||
lastSyncError = e.getMessage();
|
lastSyncError = e.getMessage();
|
||||||
|
Loading…
Reference in New Issue
Block a user