Skip to content

Commit d76345e

Browse files
authored
fix(ourlogs): Elide deprecated fields from json response (#97777)
Should be deleting the key as well.
1 parent 426b3c2 commit d76345e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

static/app/views/explore/logs/utils.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ export function ourlogToJson(ourlog: TraceItemDetailsResponse | undefined): stri
473473
// Trimming any sentry. prefixes
474474
for (const key in copy) {
475475
if (DeprecatedLogDetailFields.includes(key)) {
476+
delete copy[key];
476477
continue;
477478
}
478479
if (key.startsWith('sentry.')) {

0 commit comments

Comments
 (0)