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..4247f9d741928d3c09cfe3826518da7234d46d17 100644 |
--- a/build/android/pylib/utils/decorators.py |
+++ b/build/android/pylib/utils/decorators.py |
@@ -32,6 +32,8 @@ def NoRaiseException(default_return_value=None, exception_message=''): |
return f(*args, **kwargs) |
except Exception: # pylint: disable=broad-except |
logging.exception(exception_message) |
+ logging.exception('The above exception is suppressed on purpose. ' |
jbudorick
2017/04/24 22:26:29
Could we just change the default exception_message
mikecase (-- gone --)
2017/04/24 22:33:40
Im not the biggest fan of this. If people are bein
BigBossZhiling
2017/04/25 18:13:47
Done.
|
+ 'It won\'t cause any crash.') |
return default_return_value |
return wrapper |
return decorator |