1
0
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:
Dave Conway-Jones 2017-05-31 22:02:41 +01:00
parent 3c3b344942
commit fcdcbe4118
No known key found for this signature in database
GPG Key ID: 81B04231572A9A2D
2 changed files with 4 additions and 1 deletions

View File

@ -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() {

View File

@ -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"