From b9dcea67ea8d347330472e0db90f21526b02137e Mon Sep 17 00:00:00 2001 From: Dmitriy Tverdiakov Date: Tue, 5 Nov 2024 17:53:33 +0000 Subject: [PATCH] Update --- .../driver/internal/bolt/basicimpl/BoltConnectionImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/src/main/java/org/neo4j/driver/internal/bolt/basicimpl/BoltConnectionImpl.java b/driver/src/main/java/org/neo4j/driver/internal/bolt/basicimpl/BoltConnectionImpl.java index e9c2aa2d1..df06d93fa 100644 --- a/driver/src/main/java/org/neo4j/driver/internal/bolt/basicimpl/BoltConnectionImpl.java +++ b/driver/src/main/java/org/neo4j/driver/internal/bolt/basicimpl/BoltConnectionImpl.java @@ -526,7 +526,7 @@ private void updateState(Throwable throwable) { } else { stateRef.set(BoltConnectionState.CLOSED); } - } else if (throwable instanceof BoltFailureException) { + } else if (throwable instanceof BoltFailureException || throwable instanceof MessageIgnoredException) { if (throwable instanceof AuthorizationExpiredException) { stateRef.compareAndExchange(BoltConnectionState.OPEN, BoltConnectionState.ERROR); } else {