From 6e130ab612d4c953786fb9f4ec8bd9026fabfbf0 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 7 Jun 2018 00:45:42 -0600 Subject: [PATCH] show name of command which times out --- lib/remote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote.js b/lib/remote.js index 4eb5961..6967724 100644 --- a/lib/remote.js +++ b/lib/remote.js @@ -179,7 +179,7 @@ function _connect(state) { wsHandlers.sendMessage(Packer.pack(null, cmd, 'control')); setTimeout(function () { if (pendingCommands[id]) { - console.warn('command', id, 'timed out'); + console.warn('command', name, id, 'timed out'); pendingCommands[id]({ message: 'response not received in time' , code: 'E_TIMEOUT'