oxen-io / oxen-mq

Communications layer used for both the Oxen storage server and oxend
https://oxen.io
BSD 3-Clause "New" or "Revised" License
19 stars 35 forks source link

Propagate proxy thread startup exceptions #68

Closed jagerman closed 2 years ago

jagerman commented 2 years ago

Currently if the proxy thread fails to start (typically because a bind fails) the exception happens in the proxy thread which is uncatchable by the caller (and aborts the program).

This makes it nicer by transporting startup exceptions back to the start() call.