1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

fix error logging in snap node

to close #267
This commit is contained in:
Dave Conway-Jones 2017-01-18 18:55:10 +00:00
parent dcd2ede2c4
commit b2634ab4f2
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-snmp", "name" : "node-red-node-snmp",
"version" : "0.0.9", "version" : "0.0.10",
"description" : "A Node-RED node that looks for SNMP oids.", "description" : "A Node-RED node that looks for SNMP oids.",
"dependencies" : { "dependencies" : {
"net-snmp" : "^1.1.19" "net-snmp" : "^1.1.19"

View File

@ -61,7 +61,7 @@ module.exports = function(RED) {
function responseCb(error, table) { function responseCb(error, table) {
if (error) { if (error) {
le.error(error.toString()); console.error(error.toString());
} else { } else {
var indexes = []; var indexes = [];
for (var index in table) { for (var index in table) {