diff --git a/subcmds/sync.py b/subcmds/sync.py index a0a68960..b50df099 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -292,7 +292,9 @@ later is required to fix a server side protocol bug. pm.update() except _FetchError: err_event.set() - except: + except Exception as e: + print('error: Cannot fetch %s (%s: %s)' \ + % (project.name, type(e).__name__, str(e)), file=sys.stderr) err_event.set() raise finally: