Skip to content

Commit

Permalink
GODRIVER-2348 Update change stream error
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez committed Jun 10, 2024
1 parent 6d1b1ff commit 6c0fff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongo/change_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ func (cs *ChangeStream) next(ctx context.Context, nonBlocking bool) bool {

func (cs *ChangeStream) loopNext(ctx context.Context, nonBlocking bool) {
if !validChangeStreamTimeouts(ctx, cs) {
cs.err = fmt.Errorf("maxAwaitTimeMS cannot be greater than or equal to timeoutMS")
cs.err = fmt.Errorf("MaxAwaitTime must be less than the operation timeout")

return
}
Expand Down

0 comments on commit 6c0fff9

Please sign in to comment.