[client-sync] Make imap ended error retryable

Summary: This error should really be retryable, and will prevent more red boxes

Test Plan: manual

Reviewers: evan, spang

Reviewed By: evan, spang

Differential Revision: https://phab.nylas.com/D3982
This commit is contained in:
Juan Tejada 2017-02-18 16:43:16 -08:00
parent d415e7792e
commit 7fa5e2fb3f

View file

@ -22,7 +22,7 @@ class IMAPConnectionNotReadyError extends RetryableError {
}
}
class IMAPConnectionEndedError extends NylasError {
class IMAPConnectionEndedError extends RetryableError {
constructor(msg = "The IMAP Connection was ended.") {
super(msg);
}