Revert "fix crash on debug logging in windows"

This reverts commit e33ed15553.
This commit is contained in:
J. Nick Koston 2024-08-29 10:26:59 -10:00
parent ad0ca90c50
commit 805213264d
No known key found for this signature in database

View File

@ -711,7 +711,9 @@ class APIConnection:
if debug_enabled := self._debug_enabled:
for msg in msgs:
_LOGGER.debug("%s: Sending %s", self.log_name, type(msg).__name__)
_LOGGER.debug(
"%s: Sending %s: %s", self.log_name, type(msg).__name__, msg
)
if TYPE_CHECKING:
assert self._frame_helper is not None