Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
injectives committed Nov 4, 2024
1 parent ead666b commit ca92191
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
import org.neo4j.driver.internal.bolt.api.summary.RunSummary;
import org.neo4j.driver.internal.bolt.api.summary.TelemetrySummary;
import org.neo4j.driver.internal.security.InternalAuthToken;
import org.neo4j.driver.internal.util.ErrorUtil;

public class BoltConnectionWithAuthTokenManager implements BoltConnection {
private final BoltConnection delegate;
Expand Down Expand Up @@ -170,7 +171,7 @@ public CompletionStage<Void> flush(ResponseHandler handler) {
@Override
public void onError(Throwable throwable) {
if (error == null) {
error = mapSecurityError(throwable);
error = mapSecurityError(ErrorUtil.map(throwable));
handler.onError(error);
}
}
Expand Down

0 comments on commit ca92191

Please sign in to comment.