You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5.2.0 but can't see a fix to affected line in master
Description
An error is being thrown and using the Vue integration I believe it is automatically collecting prop data. Inside the scope.ts setExtra call we are hitting an infinite loop / out of memory exception because the object passed is very large or has circular references.
It appears that the solution would be to pass a 'depth' parameter to the normalize function. It appears that a similar issue has been raised and fixed before for bread crumbs and it was decided to hard code the depth to 2. I assume the fix will be similar.
Thanks
The text was updated successfully, but these errors were encountered:
cc @HazAT I think limiting any scope data (extra, contexts, user) to 3 levels deep sounds reasonable, as more than this would be hard to display in the UI anyway.
We could make it configurable somehow as well in one way or another.
Package + Version
@sentry/browser
Version:
Description
An error is being thrown and using the Vue integration I believe it is automatically collecting prop data. Inside the scope.ts
setExtra
call we are hitting an infinite loop / out of memory exception because the object passed is very large or has circular references.It appears that the solution would be to pass a 'depth' parameter to the
normalize
function. It appears that a similar issue has been raised and fixed before for bread crumbs and it was decided to hard code the depth to 2. I assume the fix will be similar.Thanks
The text was updated successfully, but these errors were encountered: