{"action":"opened","issue":{"url":"https://api.github.com/repos/Automattic/mongoose/issues/6257","repository_url":"https://api.github.com/repos/Automattic/mongoose","labels_url":"https://api.github.com/repos/Automattic/mongoose/issues/6257/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/mongoose/issues/6257/comments","events_url":"https://api.github.com/repos/Automattic/mongoose/issues/6257/events","html_url":"https://github.com/Automattic/mongoose/issues/6257","id":306765019,"number":6257,"title":"MongoError:  Cursor not found","user":{"login":"mosaic101","id":15242708,"avatar_url":"https://avatars2.githubusercontent.com/u/15242708?v=4","gravatar_id":"","url":"https://api.github.com/users/mosaic101","html_url":"https://github.com/mosaic101","followers_url":"https://api.github.com/users/mosaic101/followers","following_url":"https://api.github.com/users/mosaic101/following{/other_user}","gists_url":"https://api.github.com/users/mosaic101/gists{/gist_id}","starred_url":"https://api.github.com/users/mosaic101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosaic101/subscriptions","organizations_url":"https://api.github.com/users/mosaic101/orgs","repos_url":"https://api.github.com/users/mosaic101/repos","events_url":"https://api.github.com/users/mosaic101/events{/privacy}","received_events_url":"https://api.github.com/users/mosaic101/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-20T08:12:44Z","updated_at":"2018-03-20T08:12:44Z","closed_at":null,"author_association":"NONE","body":"Version:\r\n- Nodejs@8.9.4\r\n- Mongoose@5.08\r\n\r\n## ios catch error\r\n![cursor not found](https://user-images.githubusercontent.com/15242708/36766675-df2f4ffc-1c71-11e8-9d00-5bc5c332d05e.png)\r\n\r\n## Code\r\n```js\r\nTweet.find({ box: { $in: boxIds } }).sort({ index: -1 }).lean()\r\n```\r\n## Problem\r\nI test this function  in NODE_ENV=test, It`s ok~ But, sometimes it happen to be found in NODE_ENV=prod.\r\nI want to know the reason that this error be made. \r\n\r\n\r\n"}}
{"actor":{"display_login":"mosaic101"}}