aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-12-26 10:17:45 +0100
committerGuido Günther <agx@sigxcpu.org>2016-12-26 10:18:02 +0100
commit4db63fee215535ba256b89a790df5dda09e756bd (patch)
treed8879a6c9677226c033e422aa7d150f9e99f76f4
parent69912f86329adf4df6c50741ca3f3635dd0cac0d (diff)
Be more specific about the type of errorHEADmaster
-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: