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

Fix RangeError: Maximum call stack size exceeded #16595

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

marekrjpolak
Copy link
Contributor

Description

When Solana websocket disconnects, the thrown SolanaError has cyclic dependency in cause field, which caused an error when sending to Sentry (it's specific to @sentry/electron package and its dependency deepmerge):

...
  extra: { arguments: [ 'Solana subscription error:', [SolanaError] ] },
...

Dunno why Sentry serialization can't handle this e.g. by normalizeDepth setting, it may be a bug on their side, but the simplest solution is to remove one residual console.error.

Related Issue

Resolve #16530

@marekrjpolak marekrjpolak requested a review from mroz22 as a code owner January 24, 2025 15:28
@mroz22 mroz22 requested a review from martykan January 24, 2025 15:37
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

Successfully merging this pull request may close these issues.

RangeError: Maximum call stack size exceeded
1 participant