We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39ea1e6 commit 4862319Copy full SHA for 4862319
src/main/java/com/github/shyiko/mysql/binlog/BinaryLogClient.java
@@ -837,6 +837,9 @@ public void run() {
837
try {
838
setConnectTimeout(timeout);
839
connect();
840
+ } catch (IOException e) {
841
+ exceptionReference.set(e);
842
+ countDownLatch.countDown(); // making sure we don't end up waiting whole "timeout"
843
} catch (Exception e) {
844
exceptionReference.set(new IOException(e)); // method is asynchronous, catch all exceptions so that they are not lost
845
countDownLatch.countDown(); // making sure we don't end up waiting whole "timeout"
0 commit comments