Skip to content

Commit 498ac6d

Browse files
Update __init__.py
1 parent 3a0019f commit 498ac6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

switchbot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def _sendpacket(self, key, retry=2) -> bool:
5050
if retry < 1 or not self._connect():
5151
_LOGGER.error("Cannot connect to switchbot.", exc_info=True)
5252
return False
53-
_LOGGER.warning("Cannot connect to switchbot. Retrying", exc_info=True)
53+
_LOGGER.warning("Cannot connect to switchbot. Retrying")
5454
return self._sendpacket(key, retry-1)
5555
return True
5656

0 commit comments

Comments
 (0)