Skip to content

Align callback error handling with other SDKs #6081

Description

@adinauer

Description

Currently Java SDK does not follow the new spec for callbacks.
If an error happens in a customer callback (hook), the SDK should fall back according to spec.

Gaps in Java SDK:

  • beforeBreadcrumb: on error the breadcrumb is added as is, it should be dropped instead
  • eventProcessor: on error the event/telemetry goes further in the pipeline, it should be dropped instead

Client reports:

Activity

  1. linear-code commented on Sep 9, 2026

    @linear-code
  2. added this to the 9.0.0 milestone on Sep 9, 2026
  3. linear-code commented on Sep 25, 2026

    @linear-code

    from alexanderdinauer:

    Implementation PR Stack is here: #6140

  4. adinauer commented on Sep 25, 2026

    @adinauer
    MemberAuthor

    We want to stop catching non recoverable errors in the next major: #5513

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

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions