RemoveExceptionFrameVarsIntegration could also remove function calling args from event stacktrace added by Sentry SDK

Created on 9 September 2023, over 1 year ago
Updated 11 September 2023, over 1 year ago

Problem/Motivation

The RemoveExceptionFrameVarsIntegration, when enabled depending on configuration, removes function calling arguments from exception stacktraces, but does not remove them from event stacktraces - which may be added automatically to events (e.g. transactions) by \Sentry\Client::addMissingStacktraceToEvent().

Steps to reproduce

Enable stacktraces and performance tracing, disable "reflection tracing" (function calling arguments). Observe that the transaction events have a stacktrace with function calling arguments.

Proposed resolution

Although the event stacktrace may not be an "exception" stacktrace per se, the RemoveExceptionFrameVarsIntegration could remove the function calling arguments from event stacktraces as well.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mfb San Francisco

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024