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

Client: log query on exception then rethrow it #1920

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

7ochem
Copy link

@7ochem 7ochem commented Aug 4, 2023

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:

Screenshot from 2023-08-04 14-02-06
❓ πŸ€·πŸ»β€β™‚οΈ

After:

Screenshot from 2023-08-04 14-04-31
❗ πŸ•΅πŸ»β€β™‚οΈ

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.
@7ochem 7ochem force-pushed the log-query-on-exception-and-rethrow branch from 78e9040 to a4d778d Compare April 18, 2024 20:03
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

Successfully merging this pull request may close these issues.

None yet

2 participants