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

Breadcrumb Recursion #33

Open
lordphnx opened this issue Apr 11, 2020 · 0 comments
Open

Breadcrumb Recursion #33

lordphnx opened this issue Apr 11, 2020 · 0 comments

Comments

@lordphnx
Copy link

lordphnx commented Apr 11, 2020

Hey! First of all, thanks you for the great plugin! Have been using it throughout a lot of my projects. I recently upgrades tot ^2.0 and encountered the following issue:

Could not encode value into JSON format. Error was: "Recursion detected".
Sentry\Exception\JsonException

at

⟩ Sentry\Util\JSON::encode
ROOT/vendor/sentry/sentry/src/Transport/HttpTransport.php, line 113

Its quite hard do share the actual dump with you, because its full of confidential data. But the digging that I have managed to do points to the Sentry Breadcrumbs. I am unsure if this is a bug with Sentry or with the plugin.

Update: more specifically:

  • I have a controller, that uses a component.
  • The component (obviously) has a ComponentRepository
  • the ComponentRepository again has a reference to the controller
  • hence, recursion
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

1 participant