Skip to content

[UWP / WinUI] Operating system info missing in reports #3260

@tipa

Description

@tipa

Package

Sentry

.NET Flavor

.NET

.NET Version

8.0.2

OS

Windows

SDK Version

4.2.1

Self-Hosted Sentry Version

No response

Steps to Reproduce

Send test exception to Sentry from a UWP or WinUI3 app.

Expected Result

See detailed info about operating system - incl. build version, e.g. Windows 11 (build 22631.3374).

Actual Result

WinUI3:
image

  • The "os.name=Windows" doesn't give me any additional information compared to "os=Windows 11"
  • Build number missing (e.g. 22631.3374 or 10.0.22631)

UWP: no OS information at all

The build information can be gathered via Environment.OSVersion.Version. Additionally, it could be helpful to enrich the exception with the machine name (e.g. laptop model), similar how on iOS it shows "device=iPhone 13 Pro". This information can be gathered using Environment.MachineName

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions