This commit is contained in:
anhefti 2019-10-07 13:54:45 +02:00
parent 307177f426
commit a15b643d3c

View file

@ -87,7 +87,7 @@ public class ClientHttpRequestFactoryService {
log.info("Initialize ClientHttpRequestFactory with insecure ClientHttpRequestFactory for development");
if (proxy.proxyAuthType != null && proxy.proxyAuthType != ProxyAuthType.NONE) {
if (proxy != null && proxy.proxyAuthType != null && proxy.proxyAuthType != ProxyAuthType.NONE) {
log.info("Initialize ClientHttpRequestFactory with proxy auth: {} : {}",
proxy.proxyAuthType,