mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 13:33:28 +08: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:
|
||||
raise
|
||||
continue
|
||||
except AttributeError:
|
||||
print('Error: Could not install package {pkg}'.format(
|
||||
pkg=package.real_name))
|
||||
except AttributeError as error:
|
||||
print('Error: Could not install package {pkg}: {error}'.format(
|
||||
pkg=package.real_name, error=error))
|
||||
continue
|
||||
|
||||
# Package requirement are an argument of the setup function
|
||||
|
Loading…
Reference in New Issue
Block a user