CoAPConnect / coap-pubsub-rust

MIT License
5 stars 0 forks source link

Use more explicit error handling #78

Open Kavan-M opened 2 months ago

Kavan-M commented 2 months ago

Currently there are about 50ish unwraps and expects combined in the broker main. If any of these get something unexpected the whole broker panics and terminates. For example mutex poisoning might be good to handle explicitly when opening the topic collection.

This adds no new functionality but adds to the robustness of the broker when in use.