Closed andrecarlucci closed 5 years ago
Thanks for contacting us, @andrecarlucci. @rynowak, seems like something we can do in 2.2 timeframe.
Hi, @andrecarlucci - as of 2.2.0-preview3 the health check doesn't define its own name, it's passed in (and null-checked) when the check is registered.
Hi guys,
You will get an ArgumentNullException when creating your own HealthCheck handler without setting something to its Name property:
As the exception is not helpful at all, it took me a little while to figure it out (I had to look at the source code).
I believe the solution for this would be:
Thanks!