Skip to content

Commit d2fb86d

Browse files
author
Stephane Landelle
committed
Minor clean up
1 parent 698e628 commit d2fb86d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

api/src/test/java/org/asynchttpclient/async/MaxConnectionsInThreads.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,7 @@ public void run() {
6666
// assert that 2nd request fails, because maxTotalConnections=1
6767
// logger.debug(i);
6868
caughtError[0] = true;
69-
System.err.println("============");
70-
e.printStackTrace();
71-
System.err.println("============");
72-
69+
logger.error("Exception ", e);
7370
}
7471
}
7572
};
@@ -81,8 +78,7 @@ public void run() {
8178
try {
8279
t.join();
8380
} catch (InterruptedException e) {
84-
// TODO Auto-generated catch block
85-
e.printStackTrace();
81+
logger.error("Exception ", e);
8682
}
8783
}
8884

0 commit comments

Comments
 (0)