From 1d4323621191ae8c36cfbef3c78a857d58fa680d Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sat, 5 Dec 2020 10:57:20 +0100 Subject: [PATCH] Upgrade json config handler logging to critical (#2344) --- supervisor/utils/json.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/supervisor/utils/json.py b/supervisor/utils/json.py index 60da3ceb8..c3465e6aa 100644 --- a/supervisor/utils/json.py +++ b/supervisor/utils/json.py @@ -67,7 +67,7 @@ class JsonConfig: try: self._data = self._schema(self._data) except vol.Invalid as ex: - _LOGGER.error( + _LOGGER.critical( "Can't parse %s: %s", self._file, humanize_error(self._data, ex) ) @@ -81,7 +81,7 @@ class JsonConfig: try: self._data = self._schema(self._data) except vol.Invalid as ex: - _LOGGER.error("Can't parse data: %s", humanize_error(self._data, ex)) + _LOGGER.critical("Can't parse data: %s", humanize_error(self._data, ex)) # Load last valid data _LOGGER.warning("Resetting %s to last version", self._file)