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

Add documentation for error:dump command #20706

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

pyrech
Copy link
Contributor

@pyrech pyrech commented Mar 1, 2025

Fix #20704

PR introducing the command: symfony/symfony#58769

@carsonbot carsonbot added this to the 7.3 milestone Mar 1, 2025
@pyrech pyrech force-pushed the error-dump-command branch from a46fdfd to 5f8f681 Compare March 1, 2025 17:00
@pyrech pyrech force-pushed the error-dump-command branch from 5f8f681 to d976d0e Compare March 1, 2025 17:02

Once the static pages are generated, you can now configure your web server to use
them instead of their default error page. Here is an example configuration with
nginx:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wdyt adding a doc for frankenphp ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't use Frankenphp, so feel free to suggest a working configuration for it (or for any other web server) 😉

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add new config formats in future PRs if folks contribute them. Thanks.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i will try to when I upgrade to v7.3, bookmarking this comments flows

@OskarStark OskarStark changed the title Add documentation for error:dump command Add documentation for error:dump command Mar 7, 2025
@javiereguiluz javiereguiluz merged commit 8a8251c into symfony:7.3 Mar 10, 2025
3 checks passed
@javiereguiluz
Copy link
Member

Loïck, this is a nice feature! Thanks for contributing and for updating the docs.

@pyrech pyrech deleted the error-dump-command branch March 10, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ErrorHandler] Add a command to dump static error pages
4 participants