Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catch dropMembership error #6

Merged
merged 2 commits into from
Sep 30, 2020
Merged

catch dropMembership error #6

merged 2 commits into from
Sep 30, 2020

Conversation

bwp91
Copy link
Contributor

@bwp91 bwp91 commented Sep 30, 2020

I was experiencing these errors:

(node:8214) UnhandledPromiseRejectionWarning: Error: dropMembership EADDRNOTAVAIL
    at Socket.dropMembership (dgram.js:835:11)
    at /usr/local/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd.js:433:13
    at Array.forEach (<anonymous>:null:null)
    at DnsSd._dropMembership (/usr/local/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd.js:432:28)
    at /usr/local/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd.js:527:8
    at new Promise (<anonymous>:null:null)
    at DnsSd._stopListening (/usr/local/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd.js:526:16)
    at /usr/local/lib/node_modules/homebridge-ewelink/node_modules/node-dns-sd/lib/dns-sd.js:467:9
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

(node:8214) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:8214) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@futomi futomi merged commit b631f40 into futomi:master Sep 30, 2020
@futomi
Copy link
Owner

futomi commented Sep 30, 2020

Thank you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants