Skip to content

fix(node): contexts cannot be overridden and culture never included #5677

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

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Sep 1, 2022

@AbhiPrasad sure was right about #5512 needing some integration tests!

I will do a PR to add integration tests but for now, this PR fixes two issues:

  • A missing typeof which stops the node culture detection from working entirely
  • The contexts are completely overwritten rather than merge any existing keys

@timfish timfish changed the title fix(node): Context cannot be overridden and culture not included fix(node): contexts cannot be overridden and culture never included Sep 1, 2022
Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

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

Yeah - let's get this out with a patch release considering theres some TS issues that need to be released as well.

@AbhiPrasad AbhiPrasad enabled auto-merge (squash) September 1, 2022 15:38
@AbhiPrasad AbhiPrasad merged commit 7e64b9e into getsentry:master Sep 1, 2022
@timfish timfish deleted the fix/node-context branch September 27, 2022 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants