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 11db4e76702e..9900a86157b9 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 enum IncludeStacktrace { ALWAYS, /** - * Add error attribute when the appropriate request parameter is "true". + * Add stacktrace attribute when the appropriate request parameter is not "false". */ ON_PARAM @@ -139,7 +139,7 @@ public enum IncludeAttribute { ALWAYS, /** - * Add error attribute when the appropriate request parameter is "true". + * Add error attribute when the appropriate request parameter is not "false". */ ON_PARAM