diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorProperties.java index a2a7b083445..84bf5e0d767 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorProperties.java @@ -117,7 +117,7 @@ public class ErrorProperties { ALWAYS, /** - * Add error attribute when the appropriate request parameter is "true". + * Add stacktrace attribute when the appropriate request parameter is not "false". */ ON_PARAM, @@ -145,7 +145,7 @@ public class ErrorProperties { ALWAYS, /** - * Add error attribute when the appropriate request parameter is "true". + * Add error attribute when the appropriate request parameter is not "false". */ ON_PARAM