Drop Rails.application.secrets usage

That feature is gone and we already use environment variables...

https://github.com/rails/rails/pull/47801
This commit is contained in:
Henne Vogelsang 2025-08-12 14:37:45 +02:00
parent 4ec9aee5da
commit ddcd8dfc69
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
7 changed files with 9 additions and 89 deletions

View file

@ -1,5 +1,5 @@
Sentry.init do |config|
config.dsn = ENV.fetch('OSEM_SENTRY_DSN', Rails.application.secrets.sentry_dsn)
config.dsn = ENV.fetch('OSEM_SENTRY_DSN', nil)
config.breadcrumbs_logger = [:active_support_logger]
# To activate performance monitoring, set one of these options.