Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: commit-queue/verification/try_job_on_rietveld.py

Issue 64983002: CQ: catch IOError thrown on socket timeouts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: commit-queue/verification/try_job_on_rietveld.py
===================================================================
--- commit-queue/verification/try_job_on_rietveld.py (revision 233311)
+++ commit-queue/verification/try_job_on_rietveld.py (working copy)
@@ -754,6 +754,12 @@
return False
else:
raise
+ except IOError as e:
+ # Temporary AppEngine hiccup. Just log it and return failure.
+ if e.errno == 'socket error':
Vadim Sh. 2013/11/08 19:33:57 errno is a string?.. How can this happen?
Paweł Hajdan Jr. 2013/11/08 20:14:19 I believe it can. All of this is based on what I'v
+ logging.warning(str(e))
+ return False
+ raise
if handle:
for updated_key in keys:
job = jobs.try_jobs[updated_key]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698