Log error if unable to install package
This commit is contained in:
parent
04bb7ed58f
commit
6135b87b1d
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue