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

Make sure cursor.collection exists #137

Closed
wants to merge 1 commit into from
Closed

Make sure cursor.collection exists #137

wants to merge 1 commit into from

Conversation

gokmen
Copy link

@gokmen gokmen commented Apr 1, 2014

If you use nextObject method of a cursor object on a non-existent collection it crashes your application. Found and fixed with @humanchimp

If you use `nextObject` method of a `cursor` object on a non-existent collection it crashes your application. Found and fixed with @humanchimp
@groundwater
Copy link
Contributor

@gokmen this is fantastic. I'll have to write a test for this, but if you have any tests I can leverage or examples that would be great too.

@wraithan
Copy link
Contributor

We've rewritten the mongo instrumentation since this PR was put up. Going to close it out.

@wraithan wraithan closed this Oct 13, 2014
@gokmen gokmen deleted the patch-1 branch October 13, 2014 17:23
cmcadams-newrelic pushed a commit to cmcadams-newrelic/node-newrelic that referenced this pull request Jan 29, 2024
…/nestjs-config-file/babel/traverse-7.23.2

chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 in /nestjs-config-file
bizob2828 added a commit to bizob2828/node-newrelic that referenced this pull request Apr 19, 2024
…/protobufjs-6.11.3

Bump protobufjs from 6.11.2 to 6.11.3
bizob2828 added a commit to bizob2828/node-newrelic that referenced this pull request Apr 23, 2024
…/protobufjs-6.11.3

Bump protobufjs from 6.11.2 to 6.11.3
bizob2828 added a commit to bizob2828/node-newrelic that referenced this pull request Jul 26, 2024
…/protobufjs-7.2.4

Bump protobufjs from 7.2.3 to 7.2.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants