1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Log error if unable to install package

This commit is contained in:
Paulus Schoutsen
2015-11-15 02:05:13 -08:00
parent 04bb7ed58f
commit 6135b87b1d

View File

@@ -29,6 +29,7 @@ def install_package(package, upgrade=True, target=None):
try:
return 0 == subprocess.call(args)
except subprocess.SubprocessError:
_LOGGER.exception('Unable to install pacakge %s', package)
return False