diff options
author | Till Maas <opensource@till.name> | 2012-09-26 21:22:26 +0200 |
---|---|---|
committer | Till Maas <opensource@till.name> | 2012-09-26 21:22:26 +0200 |
commit | d817d974cab1f9271301d29a28c3895c208faa1f (patch) | |
tree | 6fe63c7015a5f09d8b08f1b1edb9173f15fe8a91 | |
parent | 855f5c0c7a59b3b595b9d3e31ca3b140ddb384ca (diff) | |
download | cnucnu-d817d974cab1f9271301d29a28c3895c208faa1f.tar.gz cnucnu-d817d974cab1f9271301d29a28c3895c208faa1f.tar.xz cnucnu-d817d974cab1f9271301d29a28c3895c208faa1f.zip |
show package name and exception message
-rwxr-xr-x | cnucnu.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,8 +54,8 @@ class Actions(object): bug_url = p.report_outdated(dry_run=args.dry_run) if bug_url: print bug_url - except cc_errors.UpstreamVersionRetrievalError: - log.error("Failed to fetch upstream information for package '%s'" % p.name) + except cc_errors.UpstreamVersionRetrievalError, e: + log.error("Failed to fetch upstream information for package '%s' (%s)" % (p.name, e.message)) except cc_errors.PackageNotFoundError, e: log.error(e) except Exception, e: |