You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/01/31 21:09:22 UTC

[GitHub] eolivelli commented on a change in pull request #970: ISSUE #966: Expose quorum write complete latency to the client

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:
users@infra.apache.org


With regards,
Apache Git Services