Skip to content

Overlay crashes when you click on spans in a trace that contains capture_message #142

@natikgadzhi

Description

@natikgadzhi

Environment

  • @spotlightjs/overlay@0.0.16
  • Rails 7.0.3 🤦🏼
  • Sidecar 0.0.11

Steps to Reproduce

  1. Opening a demo app (should I push this up?)
  2. Hit a URL that will Sentry.capture_message somewhere in there
  3. Open Spotlight
  4. Clicking on the page's trace
  5. Clicking into a specific span

Here's the video of what I'm doing

Plot twist: it seems like it's related to #145 https://www.loom.com/share/c636a54fe36f453daa6bca6d097c82a3 Only the traces with capture_message in them crash. Errored traces or successful traces that don't send messages to Sentry work fine.

Expected Result

I expect a popover panel with the span data.

Actual Result

The Overlay app crashes and is removed from DOM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    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