Move sentry to engine

This commit is contained in:
Jorge Manrubia
2025-11-28 11:30:20 +01:00
parent 197f4bd06f
commit 3b0ddf4cfb
5 changed files with 3 additions and 20 deletions
-9
View File
@@ -1,9 +0,0 @@
if !Rails.env.local? && ENV["SKIP_TELEMETRY"].blank?
Sentry.init do |config|
config.dsn = ENV["SENTRY_DSN"]
config.breadcrumbs_logger = %i[ active_support_logger http_logger ]
config.send_default_pii = false
config.release = ENV["GIT_REVISION"]
config.excluded_exceptions += [ "ActiveRecord::ConcurrentMigrationError" ]
end
end