Index: build/android/pylib/forwarder.py |
diff --git a/build/android/pylib/forwarder.py b/build/android/pylib/forwarder.py |
index 74917e62e8c0d0c5af090928440cf4b44702d0b7..5bdb1cd4ce92b2598e9cff38295f19fd3950c572 100644 |
--- a/build/android/pylib/forwarder.py |
+++ b/build/android/pylib/forwarder.py |
@@ -128,7 +128,7 @@ class Forwarder(object): |
(exit_code, output) = cmd_helper.GetCmdStatusAndOutput( |
[self._host_forwarder_path] + redirection_command) |
if exit_code != 0: |
- raise Exception('%s exited with %d:\n%s' % ( |
+ logging.error('%s exited with %d:\n%s' % ( |
self._host_forwarder_path, exit_code, '\n'.join(output))) |
host_port = self._device_to_host_port_map[device_port] |
del self._device_to_host_port_map[device_port] |