FOSElasticaBundle
FOSElasticaBundle copied to clipboard
Client: log query on exception then rethrow it
If an Elastica exception was thrown upon request, then make the request visible that caused it (on verbose console or in your logs), then rethrow the exception.
Example with corrupted request data on the console (calling php bin/console --env=dev -vvv fos:elastica:populate very verbose)
Before:
❓ 🤷🏻♂️
After:
❗ 🕵🏻♂️