Sha256: 2e533a73ac5d295d5052914c9f5920ef3f096ca54d57ff0ab64edaf0782f1986
Contents?: true
Size: 447 Bytes
Versions: 2
Compression:
Stored size: 447 Bytes
Contents
if Rails.env.production? Raven.configure do |config| config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s) config.tags = { environment: <%= get(:heroku) ? "Heroku.stage" : "Rails.env" %> } end # In case you want to group the events with different ids in the module RackTimeoutExtensions def raven_context { fingerprint: ["{{ default }}", env["REQUEST_PATH"].gsub(/\d/, '')] } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
potassium-3.0.0 | lib/potassium/assets/config/sentry.rb.erb |
potassium-2.3.0 | lib/potassium/assets/config/sentry.rb.erb |