diff --git a/sentry-ruby/lib/sentry/rake.rb b/sentry-ruby/lib/sentry/rake.rb index 62e3b4bee..b6f4d0fcb 100644 --- a/sentry-ruby/lib/sentry/rake.rb +++ b/sentry-ruby/lib/sentry/rake.rb @@ -17,15 +17,6 @@ def display_error_message(ex) super end end - - module Task - # @api private - def execute(args=nil) - return super unless Sentry.initialized? && Sentry.get_current_hub - - super - end - end end end @@ -34,8 +25,4 @@ module Rake class Application prepend(Sentry::Rake::Application) end - - class Task - prepend(Sentry::Rake::Task) - end end