Fix wrong addon config break supervisor (#123)

This commit is contained in:
Pascal Vizeli 2017-07-31 11:41:08 +02:00 committed by GitHub
parent fc95933098
commit 8d094d5c70

View File

@ -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: