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

Remove unnecessary console logging from Pushbullet node.

(now underlying npm has been updated... multiple nodes now work ok)
This commit is contained in:
Dave C-J 2014-04-24 18:37:11 +01:00
parent 5b28f06510
commit 2c80c90f84

View File

@ -54,12 +54,11 @@ function PushbulletNode(n) {
}
else { msg.payload = msg.payload.toString(); }
if (node.pushkey && dev) {
console.log(node.pushkey,dev);
try {
if (!isNaN(dev)) { dev = Number(dev); }
node.pusher.note(dev, titl, msg.payload, function(err, response) {
if (err) node.error("Pushbullet error: "+err);
console.log(response);
//console.log(response);
});
}
catch (err) {