Skip to content

Commit

Permalink
catch camera url update timeout (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencog authored Aug 25, 2024
1 parent e6e20d2 commit 1a6f79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyatmo/modules/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ async def async_update_camera_urls(self) -> None:
self.local_url = await self._async_check_url(
temp_local_url,
)
except ClientConnectorError as exc:
except (TimeoutError, ClientConnectorError) as exc:
LOG.debug("Cannot connect to %s - reason: %s", temp_local_url, exc)
self.is_local = False
self.local_url = None
Expand Down

0 comments on commit 1a6f79a

Please sign in to comment.