mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 19:55:10 +02:00
Log error if unable to install package
This commit is contained in:
@@ -29,6 +29,7 @@ def install_package(package, upgrade=True, target=None):
|
|||||||
try:
|
try:
|
||||||
return 0 == subprocess.call(args)
|
return 0 == subprocess.call(args)
|
||||||
except subprocess.SubprocessError:
|
except subprocess.SubprocessError:
|
||||||
|
_LOGGER.exception('Unable to install pacakge %s', package)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user