eolivelli commented on a change in pull request #970: ISSUE #966: Expose quorum 
write complete latency to the client
URL: https://github.com/apache/bookkeeper/pull/970#discussion_r165187212
 
 

 ##########
 File path: 
bookkeeper-server/src/test/java/org/apache/bookkeeper/test/BookKeeperClusterTestCase.java
 ##########
 @@ -92,6 +95,16 @@
 
     private boolean isAutoRecoveryEnabled;
 
+    SynchronousQueue<Throwable> asyncExceptions = new SynchronousQueue<>();
+    protected void captureThrowable(Runnable c) {
+        try {
+            c.run();
+        } catch (Throwable e) {
+            e.printStackTrace();
 
 Review comment:
   Use logger?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to