Skip to content

Commit 58b6dc3

Browse files
Document non-Error normalization in onError changelog notes
Co-authored-by: Eric Allam <eric@trigger.dev>
1 parent afd9df5 commit 58b6dc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/ai/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@
1414
- Added explicit helper option types for chat send/reconnect request inputs.
1515
- Added optional `onError` callback support for observing non-fatal transport issues.
1616
- Added phase-aware `onError` reporting across send, reconnect, and stream-consumption paths.
17+
- Added normalization of non-Error throw values into Error instances before `onError` reporting.

0 commit comments

Comments
 (0)