diff --git a/packages/nylas-core/imap-connection.js b/packages/nylas-core/imap-connection.js index 628fd27da..2b002e048 100644 --- a/packages/nylas-core/imap-connection.js +++ b/packages/nylas-core/imap-connection.js @@ -223,7 +223,7 @@ class IMAPConnection extends EventEmitter { }; onErrored = (error) => { returned = true; - reject(error); + reject(convertImapError(error)); }; this._imap.once('error', onErrored);