Skip to content

Commit

Permalink
[OpenIdentityPlatform#463] Disable warning message on downstream closed
Browse files Browse the repository at this point in the history
  • Loading branch information
vharseko committed Jan 23, 2025
1 parent b03cfbb commit a7a53d3
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
*/
package org.forgerock.opendj.grizzly;

import java.io.IOException;
import java.util.concurrent.CancellationException;

import io.reactivex.exceptions.UndeliverableException;
import org.forgerock.opendj.ldap.spi.LdapMessages.LdapResponseMessage;
import org.glassfish.grizzly.CompletionHandler;
import org.glassfish.grizzly.Connection;
Expand Down Expand Up @@ -76,7 +78,9 @@ public void updated(final Object result) {
@Override
public void onError(final Throwable error) {
upstream.cancel();
downstream.onError(error);
try {
downstream.onError(error);
} catch (UndeliverableException e) {}
}

@Override
Expand Down

0 comments on commit a7a53d3

Please sign in to comment.