NODE-7827Blocked

Misleading error message when the error returns IllegalOperation error

When the MongoDB server returns an {{IllegalOperation}} error (code 20), the NODE driver reports a misleading message: Even for errors completely unrelated to retryWrites, end even if already using --retryWrites=false (which does not matter anyway). h3. Expected Behavior As a... Node Driver user I expect... to see actual server message When... server returns an IllegalOperation error h3. Actual Behavior and Impact * _What is the actual behavior?_ * _If bug: What is the number of

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
internal-user