mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2025-03-02 04:01:56 +01:00
try repr
This commit is contained in:
parent
805213264d
commit
265167279c
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -26,9 +26,7 @@ jobs:
|
||||
- "3.11"
|
||||
- "3.12"
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
- macos-latest
|
||||
extension:
|
||||
- "skip_cython"
|
||||
- "use_cython"
|
||||
|
@ -712,7 +712,7 @@ class APIConnection:
|
||||
if debug_enabled := self._debug_enabled:
|
||||
for msg in msgs:
|
||||
_LOGGER.debug(
|
||||
"%s: Sending %s: %s", self.log_name, type(msg).__name__, msg
|
||||
"%s: Sending %s: %r", self.log_name, type(msg).__name__, msg
|
||||
)
|
||||
|
||||
if TYPE_CHECKING:
|
||||
@ -908,7 +908,7 @@ class APIConnection:
|
||||
|
||||
if debug_enabled:
|
||||
_LOGGER.debug(
|
||||
"%s: Got message of type %s: %s",
|
||||
"%s: Got message of type %s: %r",
|
||||
self.log_name,
|
||||
msg_type.__name__,
|
||||
msg,
|
||||
|
Loading…
Reference in New Issue
Block a user