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(aggregate): improve error when calling near() with invalid coordinates #15206

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

vkarpov15
Copy link
Collaborator

Summary

#15188 points out a not-helpful error message from the MongoDB server. We can improve this message in the case where the user calls near().

Examples

@vkarpov15 vkarpov15 added this to the 8.9.6 milestone Jan 27, 2025
lib/aggregate.js Show resolved Hide resolved
@vkarpov15 vkarpov15 merged commit 25bd7d8 into master Jan 30, 2025
74 checks passed
@hasezoey hasezoey deleted the vkarpov15/gh-15188 branch January 31, 2025 10:25
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.

2 participants