We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4e33b2 commit d70759cCopy full SHA for d70759c
driver/src/main/java/org/neo4j/driver/internal/async/BoltConnectionWithAuthTokenManager.java
@@ -165,14 +165,10 @@ public CompletionStage<BoltConnection> clear() {
165
@Override
166
public CompletionStage<Void> flush(ResponseHandler handler) {
167
return delegate.flush(new ResponseHandler() {
168
- private Throwable error;
169
170
171
public void onError(Throwable throwable) {
172
- if (error == null) {
173
- error = mapSecurityError(throwable);
174
- handler.onError(error);
175
- }
+ handler.onError(mapSecurityError(throwable));
176
}
177
178
0 commit comments