lib/sentry/rails/railtie.rb in sentry-rails-5.18.1 vs lib/sentry/rails/railtie.rb in sentry-rails-5.18.2
- old
+ new
@@ -10,10 +10,10 @@
app.config.middleware.insert_after ActionDispatch::ShowExceptions, Sentry::Rails::CaptureExceptions
# need to place as close to DebugExceptions as possible to intercept most of the exceptions, including those raised by middlewares
app.config.middleware.insert_after ActionDispatch::DebugExceptions, Sentry::Rails::RescuedExceptionInterceptor
end
- # because the extension works by registering the around_perform callcack, it should always be ran
+ # because the extension works by registering the around_perform callback, it should always be run
# before the application is eager-loaded (before user's jobs register their own callbacks)
# See https://github.com/getsentry/sentry-ruby/issues/1249#issuecomment-853871871 for the detail explanation
initializer "sentry.extend_active_job", before: :eager_load! do |app|
ActiveSupport.on_load(:active_job) do
require "sentry/rails/active_job"