Update log info

This commit is contained in:
Pascal Vizeli 2017-05-08 00:32:45 +02:00 committed by GitHub
parent 5896fde441
commit f199a5cf95

View File

@ -123,8 +123,8 @@ class AddonsData(Config):
try:
builtin_file = Path(__file__).parent.joinpath('built-in.json')
builtin_data = read_json_file(builtin_file)
except (OSError, json.JSONDecodeError):
_LOGGER.warning("Can't read built-in.json!")
except (OSError, json.JSONDecodeError) as err:
_LOGGER.warning("Can't read built-in.json -> %s", err)
return
# if core addons are available