Skip to content

Commit 45cca73

Browse files
Update src/cmap/connection.ts
Co-authored-by: Anna Henningsen <[email protected]>
1 parent 9f87248 commit 45cca73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/cmap/connection.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ export class CryptoConnection extends Connection {
695695
): Promise<Document> {
696696
const { autoEncrypter } = this;
697697
if (!autoEncrypter) {
698-
// TODO(NODE-6065): throw a MongoMissingDependencyError in Node V7
698+
// TODO(NODE-6065): throw a MongoRuntimeError in Node V7
699699
// @ts-expect-error No cause provided because there is no underlying error.
700700
throw new MongoMissingDependencyError('No AutoEncrypter available for encryption', {
701701
dependencyName: 'n/a'

0 commit comments

Comments
 (0)