-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Description
Symfony version(s) affected
5.4.11, 6.1.3
Description
We cannot currently use bin/console debug:container with --format=json because we get this error:
In JsonDescriptor.php line 248:
[InvalidArgumentException]
Factory is not describable.
The culprit in our case is Sentry\Client, and because of this only service, we cannot describe our whole container.
Would it be possible, instead of throwing an exception, to just output a null value, an error string, or anything that wouldn't make the whole thing fail?
Same issue with xml and md.
How to reproduce
composer create-project symfony/skeleton:"6.1.*" tmp
cd tmp
composer require sentry/sentry-symfony
bin/console debug:container --format=json --env=prod
Possible Solution
No response
Additional Context
No response