Skip to content

Commit

Permalink
fix: Show exception log properties (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeShi42 authored Jul 15, 2024
1 parent 76f4db9 commit 77df4f5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/app/src/LogSidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,13 @@ function PropertySubpanel({
!key.startsWith('otel.library.') &&
!key.startsWith('telemetry.') &&
!key.startsWith('hyperdx.') &&
!key.startsWith('exception.') &&
// We need to show exception properties if it's an exception log, which
// has exception.* at the top-level. We're using the existence of span events as a
// proxy for this behavior for now.
!(
key.startsWith('exception.') &&
getLogProperty(logData, '__events') != null
) &&
!(key.startsWith('http.request.header.') && isNetworkReq) &&
!(key.startsWith('http.response.header.') && isNetworkReq) &&
key != '__events' &&
Expand Down

0 comments on commit 77df4f5

Please sign in to comment.