Update schema service to fail to start
[aai/aai-common.git] / aai-rest / src / main / java / org / onap / aai / restclient / NoAuthRestClient.java
index 7e3524d..47fe99d 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * org.onap.aai
  * ================================================================================
- * Copyright Â© 2017-2018 AT&T Intellectual Property. All rights reserved.
+ * Copyright © 2017-2019 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -42,7 +42,7 @@ public abstract class NoAuthRestClient extends RestClient{
                                .requestFactory(new HttpComponentsClientHttpRequestFactory(client))
                                .build();
 
-               restTemplate.setErrorHandler(new RestClientResponseErrorHandler(getLogger()));
+               restTemplate.setErrorHandler(new RestClientResponseErrorHandler());
        }
 
        @Override