diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bionicbb/gmail_listener.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/bionicbb/gmail_listener.py b/tools/bionicbb/gmail_listener.py index 6a8b9e6..f4936d6 100644 --- a/tools/bionicbb/gmail_listener.py +++ b/tools/bionicbb/gmail_listener.py @@ -297,6 +297,13 @@ def process_message(msg, dry_run): except NotImplementedError as ex: print ex 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): |