Index: build/android/devil/android/device_errors.py |
diff --git a/build/android/devil/android/device_errors.py b/build/android/devil/android/device_errors.py |
index 2fe5a8009434cdc0453071a5e3ceeeffb59ae3fc..ea14bf9ad8b9a7d144ce70fc4cd3559b0541c7b7 100644 |
--- a/build/android/devil/android/device_errors.py |
+++ b/build/android/devil/android/device_errors.py |
@@ -112,6 +112,6 @@ class NoDevicesError(base_error.BaseError): |
class NoAdbError(base_error.BaseError): |
"""Exception for being unable to find ADB.""" |
- def __init__(self): |
+ def __init__(self, msg=None): |
super(NoAdbError, self).__init__( |
- 'Unable to find adb.', is_infra_error=True) |
+ msg or 'Unable to find adb.', is_infra_error=True) |