Skip to content

Commit

Permalink
Fix get_error_group_main_statistics making trace.id optional field
Browse files Browse the repository at this point in the history
  • Loading branch information
crespocarlos committed Oct 18, 2024
1 parent f8c4b9a commit eec683a
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,10 @@ export async function getErrorGroupMainStatistics({
]
: [];

const requiredFields = asMutableArray([
TRACE_ID,
AT_TIMESTAMP,
ERROR_GROUP_ID,
ERROR_ID,
] as const);
const requiredFields = asMutableArray([AT_TIMESTAMP, ERROR_GROUP_ID, ERROR_ID] as const);

const optionalFields = asMutableArray([
TRACE_ID,
ERROR_CULPRIT,
ERROR_LOG_MESSAGE,
ERROR_EXC_MESSAGE,
Expand Down

0 comments on commit eec683a

Please sign in to comment.