lib/sentry/rails/configuration.rb in sentry-rails-4.7.3 vs lib/sentry/rails/configuration.rb in sentry-rails-4.8.0
- old
+ new
@@ -1,8 +1,9 @@
require "sentry/rails/tracing/action_controller_subscriber"
require "sentry/rails/tracing/action_view_subscriber"
require "sentry/rails/tracing/active_record_subscriber"
+require "sentry/rails/tracing/active_storage_subscriber"
module Sentry
class Configuration
attr_reader :rails
@@ -57,10 +58,11 @@
@report_rescued_exceptions = true
@skippable_job_adapters = []
@tracing_subscribers = Set.new([
Sentry::Rails::Tracing::ActionControllerSubscriber,
Sentry::Rails::Tracing::ActionViewSubscriber,
- Sentry::Rails::Tracing::ActiveRecordSubscriber
+ Sentry::Rails::Tracing::ActiveRecordSubscriber,
+ Sentry::Rails::Tracing::ActiveStorageSubscriber
])
end
end
end
end