- Handle json.Marshal error in deepCopyEvent instead of silently discarding - Handle json.Unmarshal error instead of silently discarding - Add explicit error checks with panic (appropriate for internal marshaling errors) - Document that panics signal impossible conditions for valid Event structs Co-Authored-By: Claude Code <noreply@anthropic.com>
4.9 KiB
4.9 KiB