Skip to content

Exception.Data is not shown in UI #4809

Open

Description

@slipdef

Package

Sentry

.NET Flavor

.NET

.NET Version

9

OS

Windows

OS Version

No response

Development Environment

Visual Studio v17.14

SDK Version

5.15

Self-Hosted Sentry Version

No response

Workload Versions

throw new Exception("test data")
{
Data = {
["string"] = "123",
["int"] = 456
}
};
{
Data = {
["string"] = "123",
["int"] = 456
}
};

UseSentry or SentrySdk.Init call

UseSentry

Steps to Reproduce

Just throw any error with exception data in asp.net controller

Expected Result

Should be shown somewhere in the Sentry UI

Actual Result

Not shown at all, though if I open Sentry issue as JSON it is there.

Activity

  1. added
    BugSomething isn't working
    .NETPull requests that update .net code
    on Dec 13, 2025
  2. linear commented on Dec 13, 2025

    @linear
  3. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Dec 13, 2025
  4. Flash0ver commented on Dec 15, 2025

    @Flash0ver
    Contributor

    @slipdef
    Tested with latest (v6.0.0) on both Sentry and Sentry.AspNetCore (both MVC and Minimal APIs),
    but it works in all cases:

    Image

    The Sentry.AspNetCore case was fixed in v5.6.0 (issue #4027, PR #4106), but you're on v5.15.0, so I'm afraid I'm uncertain where the issue may be.

    I also tested the ASP.NET Core MVC case with Sentry.AspNetCore v5.15.0,
    but I do see the "data" key-value-pairs show up in the mechanism of the exception in Sentry.

    Could you provide a minimal reproduction of the problem?
    And/or some more details ... I believe that I'm missing something.

  5. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Dec 15, 2025
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