Skip to content

breadcrumb type settings not honored#207

Open
gm4sl wants to merge 2 commits intomasterfrom
gm4sl/breadcrumb_type_settings
Open

breadcrumb type settings not honored#207
gm4sl wants to merge 2 commits intomasterfrom
gm4sl/breadcrumb_type_settings

Conversation

@gm4sl
Copy link

@gm4sl gm4sl commented Mar 12, 2026

Fixes a bug in addBreadcrumb where the enabled breadcrumb
types configuration was not being consulted before adding a breadcrumb.

Noticed when investigating a crash report that contained breadcrumb
types that were expected to be disabled but were not.

gm4sl added 2 commits March 12, 2026 13:27
Captures the current state of the `addBreadcrumb` implementation in
BacktraceBreadcrumbs in which the configuration of enabled types is not
honored.

For example, if a user configures breadcrumbs such that only breadcrumbs
of type "MANUAL" are enabled, then (aside from the initial configuration
breadcrumb which is added unconditionally) no other breadcrumb types
should be added to the breadcrumb log.
This commit fixes a bug in addBreadcrumb where the enabled breadcrumb
types configuration was not being consulted before adding a breadcrumb.

Noticed when investigating a crash report that contained breadcrumb
types that were expected to be disabled but were not.
@gm4sl gm4sl requested a review from BartoszLitwiniuk March 12, 2026 17:42
@gm4sl gm4sl self-assigned this Mar 12, 2026
@rick-bt rick-bt requested a review from melekr March 12, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant