DATAREST-1031 - Fixed setup of ExceptionHandlerExceptionResolver.
Fixed the setup of our custom ExceptionHandlerExceptionResolver to conclude with a call to afterPropertiesSet() to make sure it's properly initialized.
This commit is contained in:
@@ -683,6 +683,8 @@ public class RepositoryRestMvcConfiguration extends HateoasAwareSpringDataWebCon
|
||||
|
||||
configurerDelegate.configureExceptionHandlerExceptionResolver(er);
|
||||
|
||||
er.afterPropertiesSet();
|
||||
|
||||
exceptionResolvers.add(0, er);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user