Initialize Sentry regardless of `APP_CONFIG[:sentry_dsn]` being set or not
This commit is contained in:
parent
dcc781df3d
commit
66638caedf
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue