BetterErrors / BetterErrors/better_errors

How to see HTTP parameters and session data?

Open
#534 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
6.9k
Forks
430
PR merge metrics
No merged PRs in 30d

Description

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 `#`.

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.