We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dd4a7b commit 2c741feCopy full SHA for 2c741fe
custom_components/robovac/tuyalocalapi.py
@@ -46,6 +46,7 @@
46
import struct
47
import sys
48
import time
49
+import traceback
50
from typing import Callable, Coroutine
51
52
from cryptography.hazmat.backends.openssl import backend as openssl_backend
@@ -835,7 +836,7 @@ async def _async_handle_message(self):
835
836
self._LOGGER.debug("Incomplete read")
837
elif isinstance(e, ConnectionResetError):
838
self._LOGGER.debug(
- "Connection reset: {}\n{}".format(e, e.__traceback__)
839
+ "Connection reset: {}\n{}".format(e, traceback.format_exc())
840
)
841
await self.async_disconnect()
842
0 commit comments