am a6e2e070: am fbc70d38: Merge "Report 404 errors from Gerrit and continue."
* commit 'a6e2e070f2add9869e2160e3c0ca4454cac7bb7b': Report 404 errors from Gerrit and continue.
This commit is contained in:
commit
f0de7d6c69
@ -297,6 +297,13 @@ def process_message(msg, dry_run):
|
|||||||
except NotImplementedError as ex:
|
except NotImplementedError as ex:
|
||||||
print ex
|
print ex
|
||||||
return False
|
return False
|
||||||
|
except gerrit.GerritError as ex:
|
||||||
|
if ex.code == 404:
|
||||||
|
print '{}(404): {}!'.format(
|
||||||
|
termcolor.colored('ERROR', 'red'), ex)
|
||||||
|
return True
|
||||||
|
else:
|
||||||
|
return False
|
||||||
|
|
||||||
|
|
||||||
def main(argc, argv):
|
def main(argc, argv):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user