dbusjs / node-dbus-next

🚌 The next great dbus library for node
https://www.npmjs.com/package/dbus-next
155 stars 52 forks source link

bug: fix uncatchable thrown errror #83

Closed apasare closed 2 years ago

apasare commented 2 years ago

this is aiming to fix the error: Uncaught (in promise) Error, generated by the fact that it is impossible to catch the error that is thrown by the helloMessage promise --- also, that thrown seems unneeded, emitting the error should be enough in this context.