Skip to content

Commit 1fb74cd

Browse files
rlondnermbroadst
authored andcommitted
style(change-streams): fix typo in change stream error message
1 parent fe9eeca commit 1fb74cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/change_stream.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ var processNewChange = function(self, err, change, callback) {
335335
// Cache the resume token if it is present. If it is not present return an error.
336336
if (!change || !change._id) {
337337
var noResumeTokenError = new Error(
338-
'A change stream document has been recieved that lacks a resume token (_id).'
338+
'A change stream document has been received that lacks a resume token (_id).'
339339
);
340340
if (typeof callback === 'function') return callback(noResumeTokenError, null);
341341
if (self.listenerCount('error')) return self.emit('error', noResumeTokenError);

0 commit comments

Comments
 (0)