mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
better error handling in mdns node
bump package for npm
This commit is contained in:
parent
3c3b344942
commit
fcdcbe4118
@ -35,6 +35,9 @@ module.exports = function(RED) {
|
|||||||
var msg = {topic:node.topic, payload:service};
|
var msg = {topic:node.topic, payload:service};
|
||||||
node.send(msg);
|
node.send(msg);
|
||||||
});
|
});
|
||||||
|
browser.on('error', function(exception) {
|
||||||
|
node.error(exception.toString());
|
||||||
|
});
|
||||||
browser.start();
|
browser.start();
|
||||||
|
|
||||||
node.on("close", function() {
|
node.on("close", function() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "node-red-node-discovery",
|
"name" : "node-red-node-discovery",
|
||||||
"version" : "0.0.17",
|
"version" : "0.0.18",
|
||||||
"description" : "A Node-RED node that uses Bonjour / Avahi to discover nearby services.",
|
"description" : "A Node-RED node that uses Bonjour / Avahi to discover nearby services.",
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
"mdns" : "~2.3.3"
|
"mdns" : "~2.3.3"
|
||||||
|
Loading…
Reference in New Issue
Block a user