-
-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
Hello,
I am wondering if this is the normal behavior not to catch any error that might be thrown from call to setMulticastInterface
socket.setMulticastInterface(opts.interface || defaultInterface())
As specified in dgram's documentation, a call to setMulticastInterface might throw a System Error such as EADDRNOTAVAIL or EPROTONOSUP
https://nodejs.org/api/dgram.html#dgram_call_results
For now i didn't find a way to properly catch this exception in my program other than using process.on('uncaugthException') which i find ugly
Am I missing something or is it the only way ?
Ty for your time
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels