diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/fedpkg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py index 6699642..89e3ce5 100755 --- a/src/fedpkg.py +++ b/src/fedpkg.py @@ -340,9 +340,9 @@ def build(args): try: mymodule.kojisession.logout() return _watch_koji_tasks(mymodule.kojisession, [task_id], quiet=args.q) - except (koji.AuthError, koji.ServerOffline), e: + except: # We could get an auth error if credentials have expired - log.error('Could not watch build: %s' % e) + log.error('Could not watch build: %s' % sys.exec_info()[0]) sys.exit(1) def chainbuild(args): |