Skip to content

Commit 1fde2ce

Browse files
committed
Testing inspection
1 parent 2c054fb commit 1fde2ce

File tree

1 file changed

+1
-1
lines changed
  • driver/src/main/java/org/neo4j/driver/internal/cluster/loadbalancing

1 file changed

+1
-1
lines changed

driver/src/main/java/org/neo4j/driver/internal/cluster/loadbalancing/LoadBalancer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private CompletionStage<Boolean> detectFeature(
168168
for (var address : addresses) {
169169
result = onErrorContinue(result, baseError, completionError -> {
170170
// We fail fast on security errors
171-
var error = completionExceptionCause(completionError);
171+
Throwable error = completionExceptionCause(completionError);
172172
if (error instanceof SecurityException) {
173173
return failedFuture(error);
174174
}

0 commit comments

Comments
 (0)