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 8e1dc9fdc9
commit ac75ec56d2

View File

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