Skip to content

lastEventId is wrong when errors are Deduped #4018

Closed
@piotrblasiak

Description

@piotrblasiak

Package + Version

  • [x ] @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other:

Version:

6.13.2

Description

I use the lastEventId as an error reference that I show to my users. Using that I can then find the error they experienced, but for some time now I have very often not been able to find the error - often thinking they were offline when it happened but now I found out that it is the Dedupe filter that simply blocks the event from being sent BUT it still reports a new lastEventId.
Is there a way to fix this, is it intended behaviour and how do I work around it if it is? To me, the logical thing would be to set lastEventId to the last event of that type that was sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: browserIssues related to the Sentry Browser SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions