From 45cca737cabcb60807ddf6249381a27f17deef34 Mon Sep 17 00:00:00 2001 From: Bailey Pearson Date: Fri, 5 Apr 2024 10:48:25 -0600 Subject: [PATCH] Update src/cmap/connection.ts Co-authored-by: Anna Henningsen --- src/cmap/connection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmap/connection.ts b/src/cmap/connection.ts index fd51299a24..061d7f8332 100644 --- a/src/cmap/connection.ts +++ b/src/cmap/connection.ts @@ -695,7 +695,7 @@ export class CryptoConnection extends Connection { ): Promise { const { autoEncrypter } = this; if (!autoEncrypter) { - // TODO(NODE-6065): throw a MongoMissingDependencyError in Node V7 + // TODO(NODE-6065): throw a MongoRuntimeError in Node V7 // @ts-expect-error No cause provided because there is no underlying error. throw new MongoMissingDependencyError('No AutoEncrypter available for encryption', { dependencyName: 'n/a'