mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-20 19:20:04 +00:00
added thread toString() output to the tracing message for a long-waiting Future.get() call
Change-Id: I1ec555dc79cd2d2f7fc29b9e365c742bc8b0ee5d
This commit is contained in:
1 parent
311f670b27
commit
da6b639c0c
1 file changed
+1
-1
@@ -27,7 +27,7 @@ public abstract class HasTracingGetImpl<V> implements HasTracingGet<V> {
|
||||
try {
|
||||
return future.get(MILLIS_AFTER_WHICH_TO_TRACE_NON_RETURNING_GET, TimeUnit.MILLISECONDS);
|
||||
} catch (TimeoutException e) {
|
||||
logger.log(Level.INFO, "Timeout waiting for future task "+future+
|
||||
logger.log(Level.INFO, ""+Thread.currentThread()+": Timeout waiting for future task "+future+
|
||||
" (retrying); "+ getAdditionalTraceInfo(), e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user