zhaozhiming commented on pull request #44:
URL: https://github.com/apache/skywalking-nodejs/pull/44#issuecomment-875415936
Hi, I found a problem, when I add skywalking agent in my server, the
mongoose api is broken. The `find` api is ok but it return a `Promise` but not
a mongoose model. when I remove the agent everything is fine.
I see that this case is not included in the test case, maybe it could be
added to it.
```js
const result = await this.model.find({}).exec();
// ERROR 57176 nodejs.TypeError: model.find(...).exec is not a function
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]