You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extract detailed Zod validation info from
`EVENT_ITERATOR_VALIDATION_FAILED` errors instead of logging the generic
'Event iterator validation failed' message.
## Changes
The new `formatValidationError()` helper extracts:
- Validation issue paths and messages (up to 3)
- Count of additional issues if more than 3
- Event type that failed validation
## Before
```
[WorkspaceStore] Error in onChat subscription for 6d48f6dc1c: ORPCError: Event iterator validation failed
```
## After
```
[WorkspaceStore] Event validation failed for 6d48f6dc1c: type: Invalid discriminator value; metadata.usage.inputTokens: Expected number (+2 more) [event: stream-end]
```
---
_Generated with `mux` • Model: `anthropic:claude-opus-4-5` • Thinking:
`high`_
0 commit comments