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

console log spam #1896

Open
koldoon opened this issue Jun 3, 2024 · 3 comments
Open

console log spam #1896

koldoon opened this issue Jun 3, 2024 · 3 comments

Comments

@koldoon
Copy link

koldoon commented Jun 3, 2024

How can I disable console spaming with records like this?

ioredis v5 does not support plugging third-party Promise library anymore. Native Promise will be used.
@muratorema
Copy link

Any idea?

@leibale
Copy link
Collaborator

leibale commented Jun 25, 2024

Object.defineProperty(exports, "Promise", {

check for .Promise/['Promise']/["Promise"], something is calling either the getter or setter of ioredis.Promise

@ardabeyazoglu
Copy link

ardabeyazoglu commented Aug 28, 2024

I have the same problem with ioredis with Deno. I am not calling anything except Redis constructor function. There must be an internal issue.

EDIT: Maybe it would be better to convert the console.warn to console.trace, so people can track the code that imports the legacy promise.

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

No branches or pull requests

4 participants