Skip to content

Commit 8387020

Browse files
committed
remove error pop-up as there's no way to catch it
1 parent bdc467a commit 8387020

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/mdns-server.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@ Server.prototype._respondToQuery = function (query) {
8383
})
8484
}
8585

86-
self.mdns.respond({ answers: answers, additionals: additionals }, function (err) {
87-
if (err) throw err // TODO: Handle this (if no callback is given, the error will be ignored)
88-
})
86+
self.mdns.respond({ answers: answers, additionals: additionals })
8987
})
9088
}
9189

0 commit comments

Comments
 (0)