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

Unified Diff: build/android/devil/utils/reraiser_thread.py

Issue 1343853002: When a timeout occurs, log a message saying that's what happened. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/devil/utils/reraiser_thread.py
diff --git a/build/android/devil/utils/reraiser_thread.py b/build/android/devil/utils/reraiser_thread.py
index ad118ec8a06ddf82166bff790b5118b18dadc172..e6a101b2dc66c2ab1ebfec9c2180dce9b09d4949 100644
--- a/build/android/devil/utils/reraiser_thread.py
+++ b/build/android/devil/utils/reraiser_thread.py
@@ -142,6 +142,7 @@ class ReraiserThreadGroup(object):
try:
self._JoinAll(watcher)
except TimeoutError:
+ logging.critical('Timed out. Dumping threads.')
for thread in (t for t in self._threads if t.isAlive()):
LogThreadStack(thread)
raise
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698