Skip to content

Sentry.Samples.AspNetCore.Serilog throws an exception after assigning a SamplesShared.Dsn and running #5268

Description

@jamescrosswell

The steps are:

  1. Load the sample as-is (I upgraded everything to net10.0 and the latest versions, but this error still occurs)
  2. Assign SamplesShared.Dsn
  3. Press F5
  4. Observe error

Alternatively, modifying builder.WebHost.UseSentry(SamplesShared.Dsn) so that it reads from appSettings instead (builder.WebHost.UseSentry()), setting Sentry.Dsn here and pressing F5 also results in the same error.

Please let me know if I have misunderstood the above process.

Originally posted by @Mike-E-angelo in #5245

Related

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

Status
Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions