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
docs(hub): 📝 multi-hub integrations setup #1689
Conversation
@HazAT this looks right-ish to me. Can you confirm? |
client2.setupIntegrations(); | ||
|
||
const hub2 = new Sentry.Hub(client2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
client2.setupIntegrations(); | |
const hub2 = new Sentry.Hub(client2); | |
const hub2 = new Sentry.Hub(); | |
hub2.bindClient(client2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually a bug, we should call bindClient in the Hub constructor. cc @kamilogorek
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
client1.setupIntegrations(); | ||
|
||
const hub1 = new Sentry.Hub(client1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
client1.setupIntegrations(); | |
const hub1 = new Sentry.Hub(client1); | |
const hub1 = new Sentry.Hub(client1); | |
hub1.bindClient(client1); |
We can close this in favor of: getsentry/sentry-javascript#2665 Thx anyway for bringing this up. |
No description provided.