Skip to content

Commit

Permalink
Add continue at end of ExecutionException catch block
Browse files Browse the repository at this point in the history
  • Loading branch information
jnimeh committed Oct 2, 2024
1 parent 225ebfb commit b2990b8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ Map<X509Certificate, byte[]> get(CertStatusRequestType type,
}

if (!task.isCancelled()) {
StatusInfo info = null;
StatusInfo info;
try {
info = task.get();
} catch (ExecutionException exc) {
Expand All @@ -269,6 +269,7 @@ Map<X509Certificate, byte[]> get(CertStatusRequestType type,
SSLLogger.fine("Exception during OCSP fetch: " +
cause);
}
continue;
}
if (info != null && info.responseData != null) {
responseMap.put(info.cert,
Expand Down

0 comments on commit b2990b8

Please sign in to comment.