Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Sentry.currentHub in v6.0.0 #405

Closed
ueman opened this issue Apr 6, 2021 · 1 comment · Fixed by #490
Closed

Remove Sentry.currentHub in v6.0.0 #405

ueman opened this issue Apr 6, 2021 · 1 comment · Fixed by #490
Assignees
Labels

Comments

@ueman
Copy link
Collaborator

ueman commented Apr 6, 2021

Sentry.currentHub should not be used anymore:

static Hub get currentHub => _hub;

@marandaneto
Copy link
Contributor

the idea is that everything is accessible via the Sentry static class, so you don't have to rely on the currentHub

@ueman ueman changed the title Mark Sentry.currentHub as deprecated Remove Sentry.currentHub in v6.0.0 Apr 6, 2021
@ueman ueman self-assigned this Jun 7, 2021
@ueman ueman closed this as completed in #490 Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants