In https://github.com/spring-projects/spring-boot/issues/22632, it was decided to log WARN messages whenever a HealthIndicator reports a status of DOWN and adds an exception to the builder. This was implemented in AbstractHealthIndicator, but not in AbstractReactiveHealthIndicator. AbstractReactiveHealthIndicator still only logs if doHealthCheck throws or returns an error Mono.
For the same reasons as in https://github.com/spring-projects/spring-boot/issues/22632, and for reasons of consistency, AbstractReactiveHealthIndicator should also log a WARN message when doHealthCheck returns a Mono that resolves to a Health with status DOWN and an exception.
Comment From: wilkinsona
@snicoll and I have discussed this and we think it should be treated as a bug of omission. The logging should have been added in 2.6 as part of #22632.
Comment From: mhalbritter
I've created a PR #33774 for this.
Comment From: mhalbritter
Superseded by https://github.com/spring-projects/spring-boot/pull/33774