Skip to content

denkungsart/denkungsart-production

Repository files navigation

Denkungsart::Production

This is a row of initializers we use in all our apps in production.

denkungsart-production.setup-lograge

Enable lograge for denser logs (so papertrail doesn't go over quota)

denkungsart-production.basic_auth

Set up basic auth if the BASIC_AUTH env variable is set. It is expected to be formatted like user:password.

denkungsart-production.i18n_report

Reports missing translations as errors to error reporting.

denkungsart-production.unpermitted_parameters_report

Reports unpermitted parameters as errors to error reporting.

denkungsart-production.deprecation_report

Reports rails deprecation warnings as errors to error reporting.

denkungsart-production.disable_rack_timeout_logging

Disables rack-timeout-logging. It's very verbose, and we don't use it.

denkungsart-production.rollbar_ignore_bots

Don't report errors caused by bots to Rollbar.

Installation

Add this line to your application's Gemfile:

gem 'denkungsart-production', group: :production

Changelog

2024-07-01

  • Generalize error reporting to not be dependent on Rollbar, but continue to default to Rollbar.
  • Add support for Sentry.

2020-11-13

  • Don't report errors caused by bots to Rollbar

2020-09-22

  • Disable rack-timeout-logging

2019-10-16

  • Report missing translations when using ActionView::TranslationHelper shortcuts

2019-08-20

  • Report missing translations as errors instead of warning.

2019-06-13

  • Initial extraction

License

The gem is available as open source under the terms of the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages