Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add nullcheck for payload
  • Loading branch information
bmaidics committed Jun 13, 2024
commit 75f78a078a190207135e538b911d414c697b9532
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ private void onAppData(
timestamp = supplyTimestamp.applyAsLong(sseDataEx);
}

if (contentType == null || validContent(traceId, contentType, payload))
if (contentType == null || payload != null && validContent(traceId, contentType, payload))
{
doEncodeEvent(traceId, authorization, budgetId, reserved, flags, payload, id, type, timestamp);
}
Expand Down