cloudflare / cloudflare/agents
In AIChatAgent onError's error argument should never be undefined.
Open
bug
- Dominant language
- TypeScript
- Stars
- 5.6k
- Forks
- 711
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 53
Description
```tsx
Agent.onError(connection: Connection, error?: unknown): void | Promise
```
In what context should onError ever be called with an undefined error?
My agent is silently failing and i have no clue why.
Contributor guide
Assessment
This issue has not been assessed yet.