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};
node.send(msg);
});
browser.on('error', function(exception) {
node.error(exception.toString());
});
browser.start();
node.on("close", function() {

View File

@ -1,6 +1,6 @@
{
"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.",
"dependencies" : {
"mdns" : "~2.3.3"