Align Health.down with Health.Builder.down

See gh-38550
This commit is contained in:
Andrei Navrotski
2023-11-25 17:34:28 +02:00
committed by Andy Wilkinson
parent ec889b2be0
commit 49e9fe66a7

View File

@@ -145,7 +145,7 @@ public final class Health extends HealthComponent {
* @param ex the exception
* @return a new {@link Builder} instance
*/
public static Builder down(Exception ex) {
public static Builder down(Throwable ex) {
return down().withException(ex);
}