Skip to content

Commit 7835423

Browse files
committed
Corrected text
1 parent 5e39fbd commit 7835423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MongoDB.Driver.Encryption/LibMongoCryptControllerBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ private async Task SendKmsRequestAsync(KmsRequest request, CancellationToken can
326326

327327
if (count == 0)
328328
{
329-
throw new IOException();
329+
throw new IOException("Unexpected end of stream. No data was read from the SSL stream.");
330330
}
331331

332332
var responseBytes = new byte[count];

0 commit comments

Comments
 (0)