diff --git a/custom_components/roomba_rest980/CloudApi.py b/custom_components/roomba_rest980/CloudApi.py index 747ea2e..2e61fac 100644 --- a/custom_components/roomba_rest980/CloudApi.py +++ b/custom_components/roomba_rest980/CloudApi.py @@ -544,7 +544,7 @@ class iRobotCloudApi: _LOGGER.debug("Saved UMF data for pmap %s to %s", pmap_id, DEBUG_UMF_PATH) - except (OSError, json.JSONEncodeError) as e: + except (OSError, Exception) as e: _LOGGER.warning("Failed to save UMF debug data: %s", e)