Skip to content

Commit 876c02e

Browse files
committed
improve logging for SSL_CONTEXT
1 parent c2f74aa commit 876c02e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/tesla_custom/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ async def async_setup_entry(hass, config_entry):
144144
if config.get(CONF_API_PROXY_CERT):
145145
try:
146146
SSL_CONTEXT.load_verify_locations(config[CONF_API_PROXY_CERT])
147-
_LOGGER.debug(SSL_CONTEXT)
147+
_LOGGER.debug("Trusting CA: %s", SSL_CONTEXT.get_ca_certs()[-1])
148148
except (FileNotFoundError, ssl.SSLError):
149149
_LOGGER.warning(
150150
"Unable to load custom SSL certificate from %s",

0 commit comments

Comments
 (0)