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(contexts): Add Windows OS version to OS context #499

Merged
merged 1 commit into from Sep 12, 2022

Conversation

lpraneis
Copy link
Contributor

@lpraneis lpraneis commented Sep 7, 2022

Add Windows OS version to the Context::Os context. A test was also added to verify that the version string we're getting back is non-empty and not equal to the Version::Unknown version from the os_info crate.

On my windows machine, this will give a version string of 10.0.19044. Previously, all windows crashes reported had the version reported as Unknown.

Fixes #500

@Swatinem Swatinem enabled auto-merge (squash) September 12, 2022 09:04
@Swatinem Swatinem merged commit a433f63 into getsentry:master Sep 12, 2022
@lpraneis lpraneis deleted the add-os-version-windows branch September 12, 2022 14:05
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.

Windows OS Context does not contain version information
2 participants