mirror of
https://github.com/sismics/docs.git
synced 2025-12-13 09:46:17 +00:00
Closes #189: Ignore folderclosedexception on imap scanning
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user