Skip to content

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

@wulab

Description

@wulab

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions