mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-22 12:05:12 +01:00
Prevent showing password in error logs (#121)
This commit is contained in:
parent
79b4649f74
commit
07d16dc1ab
@ -390,7 +390,7 @@ class APIConnection:
|
||||
await asyncio.wait_for(fut, timeout)
|
||||
except asyncio.TimeoutError as err:
|
||||
raise TimeoutAPIError(
|
||||
f"Timeout waiting for response for {send_msg}"
|
||||
f"Timeout waiting for response for {type(send_msg)}"
|
||||
) from err
|
||||
finally:
|
||||
with suppress(ValueError):
|
||||
|
Loading…
Reference in New Issue
Block a user