We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5de2b92 commit 42a46f5Copy full SHA for 42a46f5
1 file changed
plugwise_usb/__init__.py
@@ -273,12 +273,7 @@ async def plus_pair_request(self, mac: str) -> bool:
273
@raise_not_connected
274
async def initialize(self, create_root_cache_folder: bool = False) -> None:
275
"""Initialize connection to USB-Stick."""
276
- try:
277
- await self._controller.initialize_stick()
278
- except StickError as exc:
279
- _LOGGER.warning("Cannot initialize Stick-connection: %s", exc)
280
- raise StickError(f"Cannot initialize Stick-connection: {exc}") from exc
281
-
+ await self._controller.initialize_stick()
282
if self._network is None:
283
self._network = StickNetwork(self._controller)
284
self._network.cache_folder = self._cache_folder
0 commit comments