mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 07:47:08 +00:00
Resolve unexpected exception caused by sinch error_code being a string (#32929)
This commit is contained in:
parent
661570dfad
commit
cb450dcebd
@ -83,7 +83,7 @@ class SinchNotificationService(BaseNotificationService):
|
|||||||
)
|
)
|
||||||
except ErrorResponseException as ex:
|
except ErrorResponseException as ex:
|
||||||
_LOGGER.error(
|
_LOGGER.error(
|
||||||
"Caught ErrorResponseException. Response code: %d (%s)",
|
"Caught ErrorResponseException. Response code: %s (%s)",
|
||||||
ex.error_code,
|
ex.error_code,
|
||||||
ex,
|
ex,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user