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

How to see HTTP parameters and session data? #534

Open
miguno opened this issue Oct 27, 2024 · 0 comments
Open

How to see HTTP parameters and session data? #534

miguno opened this issue Oct 27, 2024 · 0 comments

Comments

@miguno
Copy link

miguno commented Oct 27, 2024

First, thanks for your work on better_errors!

Question: In my setup, better_errors seems to be working fine generally, but I don't see HTTP parameters and session data anywhere in its error pages. I suppose this is a setup misconfiguration on my side?

Background

To test-drive better_errors, I have a simple controller that intentionally raises an error.

Default Rails error page

The default Rails error page includes information such as HTTP parameters and session data:

Screenshot 2024-10-27 at 13 18 31

better_errors error page

But better_errors only shows the following. Note that the Rack session section says #<ActionDispatch::Request::Session:0x1a2c0 not yet loaded>.

Screenshot 2024-10-27 at 13 19 08

I do think better_errors is generally working as expected, the console is functional, etc.

Screenshot 2024-10-27 at 13 26 40

Still, information such as _csrf_token, SERVER_NAME, HTTP_ACCEPT_LANGUAGE is missing.

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