From 9d15f09b072448d582fd14d298c7a28b2e74a2e1 Mon Sep 17 00:00:00 2001 From: geir Date: Thu, 3 May 2018 22:10:26 +0000 Subject: [PATCH] Typo in closed socket error --- src/imap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imap.js b/src/imap.js index 2bd9548f..d6e258a3 100644 --- a/src/imap.js +++ b/src/imap.js @@ -134,7 +134,7 @@ export default class Imap { } catch (E) { } // Connection closing unexpected is an error - this.socket.onclose = () => this._onError(new Error('Socket closed unexceptedly!')) + this.socket.onclose = () => this._onError(new Error('Socket closed unexpectedly!')) this.socket.ondata = (evt) => { try { this._onData(evt)