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 b04f209126
commit a0bd7e79f0

View File

@@ -656,6 +656,8 @@ public class RepositoryRestMvcConfiguration extends HateoasAwareSpringDataWebCon
configurerDelegate.configureExceptionHandlerExceptionResolver(er);
configureExceptionHandlerExceptionResolver(er);
er.afterPropertiesSet();
return er;
}