From b8d880bb601f66b227fb214c7b6250589ea0af4a Mon Sep 17 00:00:00 2001 From: bladerunner2020 Date: Tue, 10 Jan 2017 01:03:27 +0300 Subject: [PATCH] fixed the error message after the last merge --- mikrotik.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mikrotik.js b/mikrotik.js index a911585..6356cdd 100644 --- a/mikrotik.js +++ b/mikrotik.js @@ -51,7 +51,7 @@ module.exports = function(RED) { msg.payload = values; node.send(msg); }, function rejected(reason) { - node.error('Error executing cmd['+action+']: ' + JSON.stringify(reason)); + node.error('Error executing cmd['+cmd+']: ' + JSON.stringify(reason)); }); }, function(err) {