Initialize Sentry regardless of `APP_CONFIG[:sentry_dsn]` being set or not

This commit is contained in:
Andreas Nedbal 2021-12-29 21:57:31 +01:00 committed by Andreas Nedbal
parent dcc781df3d
commit 66638caedf
1 changed files with 0 additions and 2 deletions

View File

@ -1,5 +1,3 @@
return unless APP_CONFIG[:sentry_dsn]
Sentry.init do |config| Sentry.init do |config|
config.dsn = APP_CONFIG[:sentry_dsn] config.dsn = APP_CONFIG[:sentry_dsn]
config.breadcrumbs_logger = [:active_support_logger, :http_logger] config.breadcrumbs_logger = [:active_support_logger, :http_logger]