Skip to content

Maui app not sending data to Sentry - KeyNotFoundException: The given key was not present in the dictionary. #3534

Description

@MichaelLHerman

Package

Sentry

.NET Flavor

Other

.NET Version

8.0.0

OS

iOS

SDK Version

4.9.0

Self-Hosted Sentry Version

No response

Steps to Reproduce

Started MAUI app with span logging using AspectInjector

Seeing exception in debug output

Image

Span does not have timestamp

{"span_id":"5795b574ac8daf85","parent_span_id":"58eed2aeb59cdcae","trace_id":"2c5aacd8af3a41f39627af775bf9bd51","op":"realm","description":"RealmService.Find(Prefs)","start_timestamp":"2024-08-14T18:17:29.104403+00:00"}

debug output.txt

Expected Result

Client side code should be robust to not stop logging completely if there is invalid data

Actual Result

1723659550_-8129_dc3ca5f832e646c78ff9aa05bc795d6e_-673663803.envelope.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions