peterhinch / micropython-mqtt

A 'resilient' asynchronous MQTT driver. Recovers from WiFi and broker outages.
MIT License
549 stars 116 forks source link

Make exception messages more descriptive #79

Closed bobveringa closed 2 years ago

bobveringa commented 2 years ago

Make some exception messages more descriptive for easier debugging and problem diagnoses.

This does not add an exception message to every exception, but it does for the more common exceptions. This way, it is not needed to look up the source code to figure out what the error is.