Skip to content

Commit 73fc4ec

Browse files
Docs updated
1 parent ee81c64 commit 73fc4ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,6 @@ or in `application.properties` as follows
263263
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration
264264
```
265265

266-
> [!IMPORTANT]
267-
Spring boot 3 also provides Problem details support which must not be enabled otherwise it will shadow all `ControllerAdvice`'s provided by this library.
268-
By default `spring.mvc.problemdetails.enabled` is `false`, so it must not be set to `true`
269-
270266
Specify message source bundles as follows. Make sure to include `i18/problems` bundled in the library, as it
271267
has default messages for certain exception. And it should be last in the list of `basenames`,
272268
so that it has lowest priority and any default messages coming from `problems.properties` can be overridden
@@ -282,6 +278,10 @@ but not recommended.
282278
To be on safer side, it's recommended to keep it `true`, in that case if some message is not found,
283279
the message key is taken as its value, which can be updated later into `properties` file, once noticed.
284280

281+
> [!IMPORTANT]
282+
Spring boot 3 also provides Problem details support which must not be enabled otherwise it will shadow all `ControllerAdvice`'s provided by this library.
283+
By default `spring.mvc.problemdetails.enabled` is `false`, so it must not be set to `true`
284+
285285
## Problem Properties
286286
**Following are the configurations** to customize default behaviour of `spring-boot-problem-handler`.
287287
```properties

0 commit comments

Comments
 (0)