Index: isolate.py |
diff --git a/isolate.py b/isolate.py |
index 9ab79a8d2b19ecd391f20c160e5fc55f3ac3621a..73db3c11f1c5aec0c5a4807cd645428ba6f11a41 100755 |
--- a/isolate.py |
+++ b/isolate.py |
@@ -2449,13 +2449,8 @@ def main(argv): |
dispatcher = subcommand.CommandDispatcher(__name__) |
try: |
return dispatcher.execute(OptionParserIsolate(version=__version__), argv) |
- except ( |
- ExecutionError, |
- isolateserver.ConfigError, |
- isolateserver.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 |