Skip to content

Commit

Permalink
sdk- java issue :"Defaulting to non-proxy environment" log warning #172
Browse files Browse the repository at this point in the history
….Changed the condition to reach the mentioned log message.
  • Loading branch information
shalin-shaji committed Sep 23, 2024
1 parent c796604 commit 5b2c0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/authorize/util/HttpClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ static CloseableHttpClient getHttpsClient() throws Exception {

proxySet = true;
} else {
LogHelper.warn(logger, "Defaulting to non-proxy environment");
if( UseProxy ) {LogHelper.warn(logger, "Defaulting to non-proxy environment");}

httpClient = HttpClientBuilder
.create()
Expand Down

0 comments on commit 5b2c0e5

Please sign in to comment.