| commit | 1185c2a2bb45c27cbcf281cb538bcb5ba4720fea | [log] [tgz] |
|---|---|---|
| author | Przemyslaw Pietrzkiewicz <ppi@chromium.org> | Mon Dec 07 15:39:11 2015 +0100 |
| committer | Przemyslaw Pietrzkiewicz <ppi@chromium.org> | Mon Dec 07 15:39:11 2015 +0100 |
| tree | 96bf03bcad31b9ba53d3b84d57b82b445035d2fa | |
| parent | aa6e4b053cb808b859e60eea387eefcd07fdf602 [diff] |
Improve the fifo open timeout error message in `android_shell.py`. See https://github.com/domokit/devtools/issues/56. R=qsr@chromium.org Review URL: https://codereview.chromium.org/1505783002 . Cr-Mirrored-From: https://github.com/domokit/mojo Cr-Mirrored-Commit: 293bcf7659e2d2f4ef786be688fb109a3eed3af1
diff --git a/devtoolslib/android_shell.py b/devtoolslib/android_shell.py index 178934a..dfa0c84 100644 --- a/devtoolslib/android_shell.py +++ b/devtoolslib/android_shell.py
@@ -126,7 +126,7 @@ time.sleep(1) if on_fifo_closed: on_fifo_closed() - raise Exception('Unable to find fifo.') + raise Exception('Timed out waiting for shell the create the fifo file.') _wait_for_fifo() stdout_cat = subprocess.Popen( self._adb_command(['shell', 'run-as', _MOJO_SHELL_PACKAGE_NAME,