瀏覽代碼

Update __init__.py

Daniel Høyer Iversen 5 年之前
父節點
當前提交
498ac6dd37
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      switchbot/__init__.py

+ 1 - 1
switchbot/__init__.py

@@ -50,7 +50,7 @@ class Switchbot:
             if retry < 1 or not self._connect():
                 _LOGGER.error("Cannot connect to switchbot.", exc_info=True)
                 return False
-            _LOGGER.warning("Cannot connect to switchbot. Retrying", exc_info=True)
+            _LOGGER.warning("Cannot connect to switchbot. Retrying")
             return self._sendpacket(key, retry-1)
         return True