mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-26 12:45:26 +01:00
Fix write_packet error not re-raised (#112)
This commit is contained in:
parent
8da288a2b0
commit
7a49609ef0
@ -546,6 +546,7 @@ class APIConnection:
|
||||
# If writing packet fails, we don't know what state the frames
|
||||
# are in anymore and we have to close the connection
|
||||
await self._report_fatal_error(err)
|
||||
raise
|
||||
|
||||
async def send_message_callback_response(
|
||||
self, send_msg: message.Message, on_message: Callable[[Any], None]
|
||||
|
Loading…
Reference in New Issue
Block a user