Skip to content

Commit eb13a8f

Browse files
author
SunriseFox
committed
[Fix] enqueueCommand rejections never handled.
1 parent 32e768c commit eb13a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ export default class Client {
717717
} else if (this._enteredIdle === 'IDLE') {
718718
this.client.enqueueCommand({
719719
command: 'IDLE'
720-
})
720+
}).catch(() => {})
721721
this._idleTimeout = setTimeout(() => {
722722
this.client.send('DONE\r\n')
723723
this._enteredIdle = false

0 commit comments

Comments
 (0)