me
/
guix
Archived
1
0
Fork 0

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.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
master
Hartmut Goebel 2021-12-27 19:21:16 +01:00 committed by Maxim Cournoyer
parent d90080db54
commit c3c943055d
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 1 additions and 1 deletions

View File

@ -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