So I also don't know why we pass in the endpointName if it's available from this.getName. But we should never use the proxyConfig from a different endpoint. Instead you should check if e.getProxyConfig returning null.