aboutsummaryrefslogtreecommitdiff
path: root/whatmaps
diff options
context:
space:
mode:
Diffstat (limited to 'whatmaps')
-rwxr-xr-xwhatmaps/command.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/whatmaps/command.py b/whatmaps/command.py
index 7c9b476..193cc9e 100755
--- a/whatmaps/command.py
+++ b/whatmaps/command.py
@@ -197,8 +197,8 @@ def main(argv):
for pkg in pkgs:
try:
shared_objects += pkg.shared_objects
- except PkgError:
- logging.error("Cannot parse contents of %s - skipping it" % pkg.name)
+ except PkgError as e:
+ logging.error("%s - skipping package %s" % (e, pkg.name))
ret = 1
logging.debug("Found shared objects:")
for so in shared_objects: