Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(model): include inspect output in castBulkWrite() error #13426

Merged
merged 1 commit into from May 22, 2023

Conversation

vkarpov15
Copy link
Collaborator

Summary

Right now, the current error message on an invalid bulk write op "Invalid op passed to bulkWrite()" doesn't provide any insight as to what the invalid op was. inspect() output provides a little extra info to make this issue easier to debug.

Examples

Copy link
Collaborator

@AbdelrahmanHafez AbdelrahmanHafez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks. 👍

@vkarpov15 vkarpov15 added this to the 7.2.1 milestone May 22, 2023
@vkarpov15 vkarpov15 merged commit d6c2320 into master May 22, 2023
34 checks passed
@hasezoey hasezoey deleted the vkarpov15/improve-cast-bulkwrite-error branch May 23, 2023 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants