Skip to content

Commit cc8eee9

Browse files
authored
Merge pull request #184 from ltgorm/typo-in-closed-socket-error
Typo in closed socket error
2 parents 5e7562a + 9d15f09 commit cc8eee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/imap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default class Imap {
134134
} catch (E) { }
135135

136136
// Connection closing unexpected is an error
137-
this.socket.onclose = () => this._onError(new Error('Socket closed unexceptedly!'))
137+
this.socket.onclose = () => this._onError(new Error('Socket closed unexpectedly!'))
138138
this.socket.ondata = (evt) => {
139139
try {
140140
this._onData(evt)

0 commit comments

Comments
 (0)