Skip to content

fix: deliver the actual error to onError(connection, error) when a handler throws#1717

Open
mattzcarey wants to merge 3 commits into
mainfrom
fix/388-onerror-undefined
Open

fix: deliver the actual error to onError(connection, error) when a handler throws#1717
mattzcarey wants to merge 3 commits into
mainfrom
fix/388-onerror-undefined

refactor: use getCurrentAgent() to read the connection in _tryCatch p…

4788db5
Select commit
Loading
Failed to load commit list.
pkg.pr.new / Continuous Releases succeeded Jun 9, 2026 in 0s

Successful

Published successfully.

Details

Open in StackBlitz

agents

npm i https://pkg.pr.new/agents@4788db5

@cloudflare/ai-chat

npm i https://pkg.pr.new/@cloudflare/ai-chat@4788db5

@cloudflare/codemode

npm i https://pkg.pr.new/@cloudflare/codemode@4788db5

create-think

npm i https://pkg.pr.new/create-think@4788db5

hono-agents

npm i https://pkg.pr.new/hono-agents@4788db5

@cloudflare/shell

npm i https://pkg.pr.new/@cloudflare/shell@4788db5

@cloudflare/think

npm i https://pkg.pr.new/@cloudflare/think@4788db5

@cloudflare/voice

npm i https://pkg.pr.new/@cloudflare/voice@4788db5

@cloudflare/worker-bundler

npm i https://pkg.pr.new/@cloudflare/worker-bundler@4788db5