BEagle1984 / silverback

Silverback is a simple but feature-rich message bus for .NET core (it currently supports Kafka, RabbitMQ and MQTT).
https://silverback-messaging.net
MIT License
260 stars 39 forks source link

Unhandled exception thrown in AddOutboundQueueCheck #219

Open ddh4 opened 11 months ago

ddh4 commented 11 months ago

We are encountering an issue with the AddOutboundQueueCheck method throwing an unhandled exception when the connection to the datatbase is down - is this expected behaviour?

I would assume that a HealthCheckResult struct would be returned in the event of any exceptions which are then aggregated into the health check overall response.

BEagle1984 commented 11 months ago

I think that you are correct and the exception should be handled. 👍