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:
Oliver Gierke
2017-06-09 09:57:22 +02:00
parent d1b59f8cf6
commit bc5a265ff9

View File

@@ -683,6 +683,8 @@ public class RepositoryRestMvcConfiguration extends HateoasAwareSpringDataWebCon
configurerDelegate.configureExceptionHandlerExceptionResolver(er);
er.afterPropertiesSet();
exceptionResolvers.add(0, er);
}