-
Notifications
You must be signed in to change notification settings - Fork 17
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
ReqlDriverError: query cancelled #124
Comments
Does this code break an execution or it just logs this error out without breaking anything? There are some places in the library, which are logging an error without depending in the log function. I wanted to change that in v3 version of the lib, but have no time to proper test it and make a broad full changelog. |
It just logs the error, it doesn't seem to break anything |
Ok, I thought so. Lib might just output an error caught internally. Does the fact it outputs bother you much? |
Its not really a issue but if there was a quick fix to silence this specific error i'd take it :) |
I am having the same issue as
#8
I am closing the cursor of a changefeed using a connectPool
Then I create the cursor:
and when I try to .close() it, it will produce the error:
As you can see im already using silent as suggested in #8 but it still appears
I have also tried
log: (message: string) => {},
Changing
https://github.com/rethinkdb/rethinkdb-ts/blob/9b9810dfb9a09283e0ab57d84edd631d2d936f53/src/connection/socket.ts#L182C18-L182C18
This line to
if (data?.queue.length > 0) {
does seem to solve the issue, but im no expert and this might be plain wrong.Thanks in advance!
The text was updated successfully, but these errors were encountered: