We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd98b50 commit 0d00e0eCopy full SHA for 0d00e0e
src/cmap/connection.ts
@@ -681,7 +681,7 @@ function write(
681
operationDescription.started = now();
682
operationDescription.cb = (err, reply) => {
683
// Command monitoring spec states that if ok is 1, then we must always emit
684
- // a command suceeded event, even if there's and error. Write concern errors
+ // a command suceeded event, even if there's an error. Write concern errors
685
// will have an ok: 1 in their reply.
686
if (err && reply?.ok !== 1) {
687
conn.emit(
0 commit comments