mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Pass message to error handler on MQlight send fail
This commit is contained in:
parent
2c242c76c7
commit
889b62cf70
@ -129,7 +129,7 @@ module.exports = function(RED) {
|
||||
}
|
||||
sendClient.send(node.topic, msg.payload, function(err) {
|
||||
if (err) {
|
||||
node.error(err);
|
||||
node.error(err,msg);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-mqlight",
|
||||
"version" : "0.0.4",
|
||||
"version" : "0.0.5",
|
||||
"description" : "A Node-RED node to send and receive message from IBM MQ Light",
|
||||
"dependencies" : {
|
||||
"mqlight" : "1.0.x"
|
||||
|
Loading…
Reference in New Issue
Block a user