-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
Recursion Limit Hit #713
Comments
same issue |
Any news? |
I saw @lobsterkatie 's response on getsentry/sentry-java#543 about RN sentry no longer relying on the Java SDK which defines the max nesting level of 3. However I still don't know how to increase this limit, what if i want a nesting level of 10? As @lisabaut pointed out in the original post, the any tips from anyone? |
@jennmueng You're the most up on the current RN SDK. Do you know which of the wrapped SDKs sets the max depth? If not I can dig into it. |
@lobsterkatie @alew97 It's set on JS, now Android and Cocoa shouldn't touch the nesting depth anymore if I recall correctly. So if you just set |
OS:
Platform:
SDK:
@sentry/react-native
react-native version:
0.61.2
Init Code:
I have the following issue:
When passing a deep nested object with
scope.setExtras
to the local scope like:the object's data structure is displayed nicely within the report details view in the Sentry UI below the "Additional Data" section.
Unfortunately it stops showing further key-value pairs below the third nested object level.
Instead each value is displayed with
<recursion limit hit>
.Within the docs for react native SDK I was not able to find a possibility to increase the display depth for nested objects.
This issue does not provide a solution unfortunately.
This issue with a similar topic refers to the Javascript SDK and points to the Sentry JavaScript docs.
But
Sentry.Integrations.ExtraErrorData
does not exist in the@sentry/react-native
packageand this code does not work for me in
react-native
:Question:
How can I increase the depth level in
@sentry/react-native
for displaying deep nested objects in the "Additional Data" section?Thanks.
The text was updated successfully, but these errors were encountered: