Skip to content

Commit 71a1556

Browse files
committed
Merge pull request #38550 from anavrotski
* gh-38550: Align Health.down with Health.Builder.down Closes gh-38550
2 parents ec889b2 + 49e9fe6 commit 71a1556

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/Health.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public static Builder up() {
145145
* @param ex the exception
146146
* @return a new {@link Builder} instance
147147
*/
148-
public static Builder down(Exception ex) {
148+
public static Builder down(Throwable ex) {
149149
return down().withException(ex);
150150
}
151151

0 commit comments

Comments
 (0)