mirror of
https://git.victorphan.net/basketballcantho/Teedy_custom.git
synced 2026-08-05 22:03:11 +07:00
Closes #189: Ignore folderclosedexception on imap scanning
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user