core/homeassistant/components/doorbird
gjbadros 6996ad3541 Protect Doorbird platform from failing when individual doorbird fails (#29374)
* Wrap connection attempt by try/except block so an individual downed doorbird does not fail the whole platform

* Fixed lint warning

* Disable too-broad-exception pylint warning since the whole point of this is to catch all exceptions and log them while letting processing continue; I don't disable a lint warning lightly, but this is the entire intent of this PR.

* Fixed name of pylint warning to broad-except

* Use _LOGGER.exception to get the stack trace too, per PEP8 recommendation for a bare Exception being caught.

* per @balloob, switch to just catching OSError on a narrow block; I'm not sure this protects all problems with Doorbird device startup, but it protects against the primary one I experience.
2019-12-09 09:14:55 +01:00
..
__init__.py Protect Doorbird platform from failing when individual doorbird fails (#29374) 2019-12-09 09:14:55 +01:00
camera.py Move imports to top for doorbird (#29442) 2019-12-04 21:22:51 -08:00
manifest.json Make hassfest stricter (#29494) 2019-12-05 10:15:28 +01:00
switch.py Change datetime.now() to dt_util.now() (#26582) 2019-09-19 08:39:09 +02:00