Skip to content

Stop Using Hub in HttpTransport #3232

@szokeasaurusrex

Description

@szokeasaurusrex

We are still using the deprecated Hub in HttpTransport:

from sentry_sdk import Hub
self.hub_cls = Hub

hub = self.hub_cls.current
def send_envelope_wrapper():
# type: () -> None
with hub:

We should stop using the Hub here, as it is deprecated

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions