mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 09:02:59 -05:00
build/python: Improve error output in sanity check.
Instead of printing the "str()" representation of the excaption, print the "repr()" representation. This will print the name of the exception and thus ease understanding the actual error.
This commit is contained in:
parent
94f8ba37cc
commit
fab871ae7a
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ for dist in ws:
|
|||
pkg_resources.require(req)
|
||||
print('OK')
|
||||
except Exception as e:
|
||||
print('ERROR:', req, e)
|
||||
print('ERROR:', req, repr(e))
|
||||
ret = 1
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in a new issue