Skip to content

Commit d630d71

Browse files
add handling for tcp handshake (#788)
1 parent a1670b7 commit d630d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Neo4j.Driver/Neo4j.Driver/Internal/Connector/TcpSocketClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ await sslStream
6363
}
6464
catch (Exception e)
6565
{
66-
throw new SecurityException($"Failed to establish encrypted connection with server {uri}.", e);
66+
throw new ServiceUnavailableException($"Failed to establish encrypted connection with server {uri}.", e);
6767
}
6868
}
6969
}

0 commit comments

Comments
 (0)