From 77db884b01932144c8c41153b7aadf54f0784795 Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Wed, 27 Mar 2024 03:15:22 -0400 Subject: [PATCH] Don't raise error when service call fails (#116) --- custom_components/lock_code_manager/providers/_base.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom_components/lock_code_manager/providers/_base.py b/custom_components/lock_code_manager/providers/_base.py index 85ffcbe6..74a03163 100644 --- a/custom_components/lock_code_manager/providers/_base.py +++ b/custom_components/lock_code_manager/providers/_base.py @@ -195,7 +195,6 @@ def call_service( LOGGER.error( "Error calling %s.%s service call: %s", domain, service, str(err) ) - raise err @final async def async_call_service( @@ -214,7 +213,6 @@ async def async_call_service( LOGGER.error( "Error calling %s.%s service call: %s", domain, service, str(err) ) - raise err @final @callback