Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3090)

Unified Diff: build/android/pylib/utils/decorators.py

Issue 2835203004: Fix logdog_wrapper to not upload if logdog binary does not exist. (Closed)
Patch Set: changed the message Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/android/test_wrapper/logdog_wrapper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | build/android/test_wrapper/logdog_wrapper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698