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

feat: Make Environment Integration preserve existing context data #261

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

rhcarvalho
Copy link
Contributor

@rhcarvalho rhcarvalho commented Jul 17, 2020

The previous behavior was to always set "device", "os" and "runtime" contexts overwriting any pre-populated data.

This change allows users to set their own key-value pairs in those contexts, taking priority over the values set by the SDK.

Closes #186
Fixes #193

The previous behavior was to always set "device", "os" and "runtime"
contexts overwriting any pre-populated data.

This change allows users to set their own key-value pairs in those
contexts, taking priority over the values set by the SDK.
@rhcarvalho rhcarvalho requested a review from kamilogorek July 17, 2020 13:48
@rhcarvalho rhcarvalho merged commit 61e144f into getsentry:master Jul 20, 2020
@rhcarvalho rhcarvalho deleted the do-not-override-contexts branch July 20, 2020 09:14
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.

let event processors set contexts
2 participants