diff options
author | Jesse Keating <jkeating@redhat.com> | 2011-02-08 16:31:47 -0700 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2011-02-08 16:31:47 -0700 |
commit | 9934b23746043b66842ead8e998abcef6d27496a (patch) | |
tree | c4df1934ec0fc42bd0b7405e294c9745890ea035 /src | |
parent | a4d3e612a29d6905ca7604d4332f63164a769484 (diff) | |
download | fedora-packager-9934b23746043b66842ead8e998abcef6d27496a.tar.gz fedora-packager-9934b23746043b66842ead8e998abcef6d27496a.tar.xz fedora-packager-9934b23746043b66842ead8e998abcef6d27496a.zip |
Fix an traceback when failing to watch a build.
Diffstat (limited to 'src')
-rwxr-xr-x | src/fedpkg.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py index b4ff5d2..522718c 100755 --- a/src/fedpkg.py +++ b/src/fedpkg.py @@ -346,7 +346,8 @@ def build(args): return _watch_koji_tasks(mymodule.kojisession, [task_id], quiet=args.q) except: # We could get an auth error if credentials have expired - log.error('Could not watch build: %s' % sys.exec_info()[0]) + # use exc_info here to get what kind of error this is + log.error('Could not watch build: %s' % sys.exc_info()[0]) sys.exit(1) def chainbuild(args): |