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

Calling find() against Collection without .toArray() gives cryptic error #57

Closed
mah5057 opened this issue Jun 3, 2016 · 2 comments
Closed
Labels

Comments

@mah5057
Copy link
Contributor

mah5057 commented Jun 3, 2016

When omitting .toArray() from a find() call against a carbon.carbond.collections.Collection, the error is the following:

[Fri Jun 03 2016 11:30:44 GMT-0700 (PDT)] ERROR: TypeError: Converting circular structure to JSON
at Object.stringify (native)

appears to come from JSON.stringify()

@willshulman willshulman added the P1 label Jun 6, 2016
@willshulman
Copy link
Contributor

Maybe just check type for cursor on way out

@willshulman
Copy link
Contributor

testing for not []

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

No branches or pull requests

2 participants