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 c85bbf5 commit ddebc59Copy full SHA for ddebc59
driver/src/main/java/org/neo4j/driver/internal/bolt/routedimpl/RoutedBoltConnection.java
@@ -183,14 +183,9 @@ public CompletionStage<BoltConnection> clear() {
183
@Override
184
public CompletionStage<Void> flush(ResponseHandler handler) {
185
return delegate.flush(new ResponseHandler() {
186
- private Throwable error;
187
-
188
189
public void onError(Throwable throwable) {
190
- if (error == null) {
191
- error = handledError(throwable);
192
- handler.onError(error);
193
- }
+ handler.onError(handledError(throwable));
194
}
195
196
0 commit comments