lib/httpx/adapters/sentry.rb in httpx-0.21.1 vs lib/httpx/adapters/sentry.rb in httpx-0.22.0

- old
+ new

@@ -93,10 +93,10 @@ end end end Sentry.register_patch do - sentry_session = ::HTTPX.plugin(HTTPX::Plugins::Sentry) + sentry_session = HTTPX.plugin(HTTPX::Plugins::Sentry) HTTPX.send(:remove_const, :Session) HTTPX.send(:const_set, :Session, sentry_session.class) end