summaryrefslogtreecommitdiffstats
path: root/subcmds/manifest.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2012-08-23 10:21:26 +0900
committergerrit code review <noreply-gerritcodereview@google.com>2012-09-06 11:18:25 -0700
commitbd489c4eaa592af98b8b4f09b0a465e0d2b6046a (patch)
tree6954a16b023daaea026d122251157c0b2db39367 /subcmds/manifest.py
parent2dc810c2e4028878b9c3484866a5973d5c33479d (diff)
downloadgit-repo-bd489c4eaa592af98b8b4f09b0a465e0d2b6046a.tar.gz
sync: catch exceptions when connecting to the manifest server
When connecting to the manifest server, exceptions can occur but are not caught, resulting in the repo sync exiting with a python traceback. Add handling of the following exceptions: - IOError, which can be raised for example if the manifest server URL is malformed. - xmlrpclib.ProtocolError, which can be raised if the connection to the manifest server fails with HTTP error. - xmlrpclib.Fault, which can be raised if the RPC call fails for some other reason. Change-Id: I3a4830aef0941debadd515aac776a3932e28a943
Diffstat (limited to 'subcmds/manifest.py')
0 files changed, 0 insertions, 0 deletions