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

Full error reports do not show up in development env #1140

Open
wulab opened this issue Dec 11, 2023 · 0 comments
Open

Full error reports do not show up in development env #1140

wulab opened this issue Dec 11, 2023 · 0 comments

Comments

@wulab
Copy link

wulab commented Dec 11, 2023

Gem version

rails 7.1.1
rollbar 2.27.1

Configuration

# config/environments/development.rb
# Show full error reports.
config.consider_all_requests_local = true
# config/initializers/rollbar.rb
config.access_token = ENV['ROLLBAR_ACCESS_TOKEN']
config.enabled = Rails.env.production?
config.environment = ENV['ROLLBAR_ENV'].presence || Rails.env

Description

Both ROLLBAR_ACCESS_TOKEN and ROLLBAR_ENV env vars are not set. The cause seems to be having the rollbar gem installed and initialized. Removing the gem restores the full error reports back in the browser.

@wulab wulab changed the title Full error reports does not show up in development even config.consider_all_requests_local is set Full error reports do not show up in development env Dec 11, 2023
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