From 31022da7cbc2f7a311c4e88c6b4533e0297c3571 Mon Sep 17 00:00:00 2001 From: osk2 Date: Sat, 18 Sep 2021 11:15:28 +0800 Subject: [PATCH] Remove debugging log --- custom_components/panasonic_smart_app/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/custom_components/panasonic_smart_app/__init__.py b/custom_components/panasonic_smart_app/__init__.py index 9b9cabb..23c8466 100644 --- a/custom_components/panasonic_smart_app/__init__.py +++ b/custom_components/panasonic_smart_app/__init__.py @@ -45,8 +45,7 @@ async def async_update_data(): try: _LOGGER.info("Updating device info...") return await client.get_device_with_info(DEVICE_STATUS_CODES) - except BaseException as ex: - _LOGGER.error(ex) + except: raise UpdateFailed("Failed while updating device status") coordinator = DataUpdateCoordinator(