From bbaf8e3f36acbaee8aeea2c0dd9ac9ac530021b4 Mon Sep 17 00:00:00 2001 From: Wendel Fabian Chinsamy Date: Fri, 10 May 2024 18:06:17 +0200 Subject: [PATCH] add reporting environment to sentry raven config --- config/initializers/sentry.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rb index d96a939..5af624c 100644 --- a/config/initializers/sentry.rb +++ b/config/initializers/sentry.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true Raven.configure do |config| + config.environments = %w(stage production) config.dsn = ENV["SENTRY_DSN"] config.release = "sashimi:" + Sashimi::Application::VERSION config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s)