diff --git a/lib/alchemy/error_tracking/sentry_handler.rb b/lib/alchemy/error_tracking/sentry_handler.rb index d3ce5c0..62f0b22 100644 --- a/lib/alchemy/error_tracking/sentry_handler.rb +++ b/lib/alchemy/error_tracking/sentry_handler.rb @@ -8,7 +8,7 @@ class SentryHandler < BaseHandler def self.call(exception) return if ["development", "test"].include?(Rails.env) - Sentry.capture_exception(exception) + ::Sentry.capture_exception(exception) end end end