Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Commit 551c79d

Browse files
committed
JERSEY-3258: Fixed error handling for async client
1 parent 4654ae4 commit 551c79d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: core-client/src/main/java/org/glassfish/jersey/client/ClientRuntime.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,10 @@ private void processResponse(final ClientResponse response, final ResponseCallba
215215
final ClientResponse processedResponse;
216216
try {
217217
processedResponse = Stages.process(response, responseProcessingRoot);
218+
callback.completed(processedResponse, requestScope);
218219
} catch (final Throwable throwable) {
219220
processFailure(throwable, callback);
220-
return;
221221
}
222-
callback.completed(processedResponse, requestScope);
223222
}
224223

225224
private void processFailure(final Throwable failure, final ResponseCallback callback) {

0 commit comments

Comments
 (0)