Skip to content

Breadcrumb data can sometimes be an object #21

Description

@schinery

Looks like the #sanitize_breadcrumb! method will need to check that the data value is a Hash when trying to process it.

This is what I found locally, as a breadcrumb was being created with a Stripe::Event object.

Image

If I change line 68 to return unless breadcrumb.data.is_a? Hash then we are fine, and this will work if breadcrumb.data is nil too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions