Skip to content

Error tracking - not showing the stacktrace correctly. File Unknown Source. #166

Description

@moxplod

I am using using posthog dotnet version 2.4.0

The stack trace for an exception when captured using CaptureException does not get the full stack trace.

It shows up as follows:

Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: The database operation was expected to affect 1 row(s), but actually affected 0 row(s); data may have been modified or deleted since entities were loaded. See https://go.microsoft.com/fwlink/?LinkId=527962 for information on understanding and handling optimistic concurrency exceptions.

File "Unknown Source", in: ThrowAggregateUpdateConcurrencyException

File "Unknown Source", in: MoveNext

File "Unknown Source", in: Throw

File "Unknown Source", in: ThrowForNonSuccess

File "Unknown Source", in: HandleNonSuccessAndDebuggerNotification

File "Unknown Source", in: Consume

File "Unknown Source", in: Execute

File "Unknown Source", in: Execute

File "Unknown Source", in: SaveChanges

File "Unknown Source", in: SaveChanges

File "Unknown Source", in: SaveChanges

File "Unknown Source", in: <Execute>b__0

File "Unknown Source", in: ExecuteImplementation

File "Unknown Source", in: Execute

File "Unknown Source", in: SaveChanges

File "PersonProfileWriteService.cs", line: 404, in: Merge

File "PersonProfileWriteService.cs", line: 326, in: Merge

File "PersonProfileWriteService.cs", line: 41, in: Upsert

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions