diff --git a/subcmds/sync.py b/subcmds/sync.py index a8074a40..43d450be 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py @@ -314,7 +314,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: