commit | 555be547903a3077de8fa4e0d3dfd3d9202ddc10 | [log] [tgz] |
---|---|---|
author | Conley Owens <cco3@android.com> | Fri Jul 31 17:06:23 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Jul 31 17:06:23 2015 +0000 |
tree | d5ba08eeee80b766acab489be275071cc3648d07 | |
parent | abaa7f312f1b6c8d11d7c757fe909900ce5788b5 [diff] | |
parent | c5cd433daf310694d1435fe30e22e1ad2217b1ab [diff] |
Merge "Emit project info in case of sync exception."
diff --git a/subcmds/sync.py b/subcmds/sync.py index a8074a4..43d450b 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py
@@ -314,7 +314,9 @@ 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: