Skip to content

Program crashing because of server module (through multicastdns) throwing EADDRNOTAVAIL #72

@Menlog-DD

Description

@Menlog-DD

Hello,

Multicastdns from Server module (mdns-server.js) is throwing an error (EADDRNOTAVAIL ) coming from inner function setMulticastInterface as specified in dgram's documentation
https://nodejs.org/api/dgram.html#dgram_call_results

I can't find a way to catch it from my own code except with process.on('uncaughtExcetion') which i find pretty ugly

Is there a way to catch this exception properly ? Am i missing something here or is there no better way ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions