From f937876a1ba215181ebaea63ffffdd6ab12e5a5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sat, 29 Aug 2020 10:56:45 +0200 Subject: [PATCH] Set parse issues as critical (#1989) --- supervisor/utils/gdbus.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/supervisor/utils/gdbus.py b/supervisor/utils/gdbus.py index a5456542b..26b8b0594 100644 --- a/supervisor/utils/gdbus.py +++ b/supervisor/utils/gdbus.py @@ -153,8 +153,7 @@ class DBus: try: return json.loads(json_raw) except json.JSONDecodeError as err: - _LOGGER.error("Can't parse '%s': %s", json_raw, err) - _LOGGER.debug("GVariant data: '%s'", raw) + _LOGGER.critical("Can't parse '%s': '%s' - %s", json_raw, raw, err) raise DBusParseError() from err @staticmethod