Expand add-on installation error message (#783)

* Expand error message

Since an add-on is only available for certain machine and architecture combination we should log both.

* Update addon.py
This commit is contained in:
Jorim Tielemans 2018-10-27 15:24:56 +02:00 committed by Pascal Vizeli
parent 7a87d2334a
commit fb12fee59b

View File

@ -674,7 +674,8 @@ class Addon(CoreSysAttributes):
"""Install an add-on."""
if not self.available:
_LOGGER.error(
"Add-on %s not supported on %s", self._id, self.sys_arch)
"Add-on %s not supported on %s with %s architecture",
self._id, self.sys_machine, self.sys_arch)
return False
if self.is_installed: