Skip to content

Commit

Permalink
fix error logging in snap node
Browse files Browse the repository at this point in the history
to close #267
  • Loading branch information
Dave Conway-Jones committed Jan 18, 2017
1 parent dcd2ede commit b2634ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion io/snmp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "node-red-node-snmp",
"version" : "0.0.9",
"version" : "0.0.10",
"description" : "A Node-RED node that looks for SNMP oids.",
"dependencies" : {
"net-snmp" : "^1.1.19"
Expand Down
2 changes: 1 addition & 1 deletion io/snmp/snmp.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = function(RED) {

function responseCb(error, table) {
if (error) {
le.error(error.toString());
console.error(error.toString());
} else {
var indexes = [];
for (var index in table) {
Expand Down

0 comments on commit b2634ab

Please sign in to comment.