Chromium Code Reviews| Index: build/android/pylib/utils/decorators.py |
| diff --git a/build/android/pylib/utils/decorators.py b/build/android/pylib/utils/decorators.py |
| index 8eec1d1e58e6da46517e7e64c05f917609ceac96..8beafde9dac7888974c192a35bb03e6a0df73857 100644 |
| --- a/build/android/pylib/utils/decorators.py |
| +++ b/build/android/pylib/utils/decorators.py |
| @@ -31,6 +31,7 @@ def NoRaiseException(default_return_value=None, exception_message=''): |
| try: |
| return f(*args, **kwargs) |
| except Exception: # pylint: disable=broad-except |
| + logging.exception('Ignore the following exception.') |
|
jbudorick
2017/04/25 18:14:48
This will log the exception twice, which we defini
BigBossZhiling
2017/04/26 20:55:47
Done.
|
| logging.exception(exception_message) |
| return default_return_value |
| return wrapper |