mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
utils/scanpypi: increase error message verbosity
When package installation fails it is good to know what happened. Signed-off-by: Alexey Roslyakov <alexey.roslyakov@gmail.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
cfbcc7c2fd
commit
5d2c69dad5
@ -608,9 +608,9 @@ def main():
|
|||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
continue
|
continue
|
||||||
except AttributeError:
|
except AttributeError as error:
|
||||||
print('Error: Could not install package {pkg}'.format(
|
print('Error: Could not install package {pkg}: {error}'.format(
|
||||||
pkg=package.real_name))
|
pkg=package.real_name, error=error))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Package requirement are an argument of the setup function
|
# Package requirement are an argument of the setup function
|
||||||
|
Loading…
x
Reference in New Issue
Block a user