Skip to content

Local variables aren't expanded properly #69844

@InterstellarStella

Description

@InterstellarStella

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Use Sentry's Python FastAPI SDK
  2. Send an error (in our case an AttributeError) that'll have local variables
  3. Open the resulting issue in Sentry and look at the local variables in the stack trace

Expected Result

The local variables can be expanded and viewed normally.

Actual Result

When expanding local variables that have more nested items inside of them, such as request, they do not show up correctly.
sentry-2

This was tested in the following scenarios:

Browser (from edge://version):
Microsoft Edge 124.0.2478.51 (Official build) (64-bit)
Revision e23a9b7d0a14cd45f7a5324b61f0c57561757bb3
Chromium version 124.0.6367.61
Operating system Windows 10 Version 22H2 (Build 19045.4291)
JavaScript V8 12.4.22.5
User agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0

From chrome://version
Google Chrome 124.0.6367.61 (Official Build) (64-bit) (cohort: M124 Rollout)
Revision 8771130bd84f76d855ae42fbe02752b03e352f17-refs/branch-heads/6367@{#798}
OS Windows 10 Version 22H2 (Build 19045.4291)
JavaScript V8 12.4.254.12
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

I was unable to reproduce this issue on a Mac in both Edge and Chrome.

More details in the shadow ticket.

Product Area

Issues

Link

No response

DSN

No response

Version

No response

┆Issue is synchronized with this Jira Improvement by Unito

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions