mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-22 16:46:29 +00:00
Fix wrong addon config break supervisor (#123)
This commit is contained in:
parent
fc95933098
commit
8d094d5c70
@ -118,7 +118,7 @@ class Data(JsonConfig):
|
||||
addon_config[ATTR_LOCATON] = str(addon.parent)
|
||||
self._cache[addon_slug] = addon_config
|
||||
|
||||
except OSError:
|
||||
except (OSError, json.JSONDecodeError):
|
||||
_LOGGER.warning("Can't read %s", addon)
|
||||
|
||||
except vol.Invalid as ex:
|
||||
|
Loading…
x
Reference in New Issue
Block a user