Open pontello opened 4 years ago
This could probably done already with an ExceptionHandler
that also implements HealthIndicator
Not convinced however we can make a generic solution, maybe an exception handler for all BeanContextException
? Will consider it.
True, will take this path.
But it is nice feature to have built in anyway.
Thanks
In my understanding Micronaut should return unhealthy status after detecting any bean initiation issues. For example, I have a controller that couldn't be created due to a missing property and calls to any endpoint held by that controller always fail with:
It also displays an ERROR message:
I am using micronaut 2.0.0.RC2.