mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-28 11:24:11 +08:00
Also conert imap errors in createConnectionPromise
This commit is contained in:
parent
8c33c4976f
commit
93942e792d
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ class IMAPConnection extends EventEmitter {
|
|||
};
|
||||
onErrored = (error) => {
|
||||
returned = true;
|
||||
reject(error);
|
||||
reject(convertImapError(error));
|
||||
};
|
||||
|
||||
this._imap.once('error', onErrored);
|
||||
|
|
Loading…
Reference in a new issue