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

#bug; Deriv SDK benign error log #2512

Open
melotik opened this issue Mar 21, 2024 · 0 comments
Open

#bug; Deriv SDK benign error log #2512

melotik opened this issue Mar 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@melotik
Copy link
Contributor

melotik commented Mar 21, 2024

Describe the bug
In the derivative SDK there is a benign error log that gets thrown each time a pool-level snapshot is created.

This shouldn't be happening, but it does not affect the subgraph. And the pool is there.

log.error(
      "[isInitialized] cannot create snapshots, pool: {} not initialized",
      [this.pool.id.toHexString()]
    );

Reproduction
https://okgraph.xyz/?q=messari%2Fgmx-arbitrum

Expected behavior
We should be removing this and logging the error ONLY when the pool is actually not there.

Screenshots

Screenshot 2024-03-21 at 1 19 01 PM
@melotik melotik added the bug Something isn't working label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Discussions
Development

No branches or pull requests

1 participant