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'