meshtastic / js

JS/TS library for interfacing with Meshtastic devices
https://meshtastic.org
GNU General Public License v3.0
74 stars 36 forks source link

Improve subscriber error handling #21

Closed crossan007 closed 3 years ago

crossan007 commented 3 years ago

Adds more debug output and sets up an error handler in IEmitOptions (https://vitaly-t.github.io/sub-events/interfaces/iemitoptions.html) to give clues to a developer about errors in a subscriber method: