This commit is contained in:
parent
027538ce2e
commit
a47e726f95
@ -110,7 +110,7 @@ public class HttpClient {
|
|||||||
query.addParam("encoding", "UTF-8");
|
query.addParam("encoding", "UTF-8");
|
||||||
query.addParam("nofix", "1");
|
query.addParam("nofix", "1");
|
||||||
try {
|
try {
|
||||||
return SYNC_NACOS_REST_TEMPLATE
|
return APACHE_SYNC_NACOS_REST_TEMPLATE
|
||||||
.exchange(url, httpClientConfig, header, query, body, method, String.class);
|
.exchange(url, httpClientConfig, header, query, body, method, String.class);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Loggers.SRV_LOG.warn("Exception while request: {}, caused: {}", url, e);
|
Loggers.SRV_LOG.warn("Exception while request: {}, caused: {}", url, e);
|
||||||
|
Loading…
Reference in New Issue
Block a user