See https://github.com/spring-projects/spring-boot/issues/32527
As the org.springframework.boot.actuate.health.AbstractReactiveHealthIndicator#doHealthCheck method returns a Mono<Health>, i had to add the exception to the Health class. I marked it as @JsonIgnore so that it doesn't end up in the JSON.
Please let me know if this is fine.
Comment From: wilkinsona
Please let me know if this is fine.
LGTM, but I'm not sure how much that means. WDYT, @bclozel?
Comment From: bclozel
I think it looks good @mhalbritter
Comment From: mhalbritter
Thanks, i'll merge it.