arcus-azure / arcus.messaging

Messaging with Microsoft Azure in a breeze.
https://messaging.arcus-azure.net
MIT License
20 stars 11 forks source link

chore: log io throw unhandled messages #438

Closed stijnmoreels closed 6 months ago

stijnmoreels commented 6 months ago

Log the failure of not having the right message handler for the message, instead of throwing an InvalidOperationException. This is due to the fact that a throwal in a custom message handler still corresponds as a 'handled' message. The responsibility of the message router stops there.

This is different from having no matching message handlers registered, in that case, we can still throw such an exception.

Closes #424

netlify[bot] commented 6 months ago

Deploy Preview for arcus-messaging canceled.

Name Link
Latest commit 2a095d4e3c059690f92de618e9bf1d2237de0aeb
Latest deploy log https://app.netlify.com/sites/arcus-messaging/deploys/65ee9b58cee5270008887bdb