Skip to content

Commit 14d3ec0

Browse files
committed
JDK provider does not call any callback handler for some exceptions
1 parent 8cc93b2 commit 14d3ec0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/ning/http/client/providers/jdk/JDKAsyncHttpProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ public T call() throws Exception {
383383
} catch (Throwable t2) {
384384
logger.error(t2.getMessage(), t2);
385385
}
386+
asyncHandler.onThrowable(t);
386387
} finally {
387388
if (terminate) {
388389
if (config.getMaxConnections() != -1) {

0 commit comments

Comments
 (0)