From 7fa5e2fb3fdb213682059a9854797eb4d4e92e7b Mon Sep 17 00:00:00 2001 From: Juan Tejada Date: Sat, 18 Feb 2017 16:43:16 -0800 Subject: [PATCH] [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 --- packages/isomorphic-core/src/imap-errors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/isomorphic-core/src/imap-errors.js b/packages/isomorphic-core/src/imap-errors.js index 7d9bdbcfb..63aefabe1 100644 --- a/packages/isomorphic-core/src/imap-errors.js +++ b/packages/isomorphic-core/src/imap-errors.js @@ -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); }