Skip to content

Conversation

@cadesalaberry
Copy link

No description provided.

@dashed dashed requested a review from HazAT May 29, 2020 00:42
@dashed
Copy link
Member

dashed commented May 29, 2020

@HazAT this looks right-ish to me. Can you confirm?

Comment on lines +100 to 102
client2.setupIntegrations();

const hub2 = new Sentry.Hub(client2);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
client2.setupIntegrations();
const hub2 = new Sentry.Hub(client2);
const hub2 = new Sentry.Hub();
hub2.bindClient(client2);

Copy link
Member

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +88 to 90
client1.setupIntegrations();

const hub1 = new Sentry.Hub(client1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
client1.setupIntegrations();
const hub1 = new Sentry.Hub(client1);
const hub1 = new Sentry.Hub(client1);
hub1.bindClient(client1);

@HazAT
Copy link
Member

HazAT commented Jun 10, 2020

We can close this in favor of: getsentry/sentry-javascript#2665
it's fixed there.

Thx anyway for bringing this up.

@HazAT HazAT closed this Jun 10, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants