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

Unified Diff: isolateserver.py

Issue 51383003: Report all swarming and isolate fatal errors in a consistent way. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/swarm_client
Patch Set: make isolate_smoke_test less strict regarding exact contents of stderr Created 7 years, 2 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 | « isolate.py ('k') | run_isolated.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: isolateserver.py
diff --git a/isolateserver.py b/isolateserver.py
index d2ad16b8804489b4249553f65f44addf7f67f305..93575a46646452c14f183eeadc92498aec1fe1cf 100755
--- a/isolateserver.py
+++ b/isolateserver.py
@@ -1652,10 +1652,8 @@ def main(args):
try:
return dispatcher.execute(
OptionParserIsolateServer(version=__version__), args)
- except (ConfigError, MappingError) as e:
- sys.stderr.write('\nError: ')
- sys.stderr.write(str(e))
- sys.stderr.write('\n')
+ except Exception as e:
+ tools.report_error(e)
return 1
« no previous file with comments | « isolate.py ('k') | run_isolated.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698