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

Unified Diff: server/server_job.py

Issue 3554003: Merge remote branch 'cros/upstream' into tempbranch3 (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: Created 10 years, 3 months 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 | « server/hosts/serial.py ('k') | tko/parsers/version_1.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/server_job.py
diff --git a/server/server_job.py b/server/server_job.py
index 757257fff1df866ca618dec268eea0838da12264..6ef59debc57b8b2d9d2abc662c54711cc5b9fa38 100644
--- a/server/server_job.py
+++ b/server/server_job.py
@@ -542,10 +542,12 @@ class base_server_job(base_job.base_job):
# no error occured, so we don't need to collect crashinfo
collect_crashinfo = False
- except:
+ except Exception, e:
try:
logging.exception(
'Exception escaped control file, job aborting:')
+ self.record('INFO', None, None, str(e),
+ {'job_abort_reason': str(e)})
except:
pass # don't let logging exceptions here interfere
raise
« no previous file with comments | « server/hosts/serial.py ('k') | tko/parsers/version_1.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698