mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Fix qBittorrent crash after caught exception (#35355)
This commit is contained in:
@@ -113,6 +113,7 @@ class QBittorrentSensor(Entity):
|
|||||||
except RequestException:
|
except RequestException:
|
||||||
_LOGGER.error("Connection lost")
|
_LOGGER.error("Connection lost")
|
||||||
self._available = False
|
self._available = False
|
||||||
|
return
|
||||||
except self._exception:
|
except self._exception:
|
||||||
_LOGGER.error("Invalid authentication")
|
_LOGGER.error("Invalid authentication")
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user