-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node - express
SDK Version
10.12.0
Framework Version
Vercel AI SDK @ 5.0.44
Link to Sentry event
Reproduction Example/SDK Setup
Calling streamText()
with VercelAI default instrumentation enabled results in the following error:
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
AI_NoOutputGeneratedError: No output generated. Check the stream for errors.
This does not always happen during generations, but I believe it particularly happens when the request gets aborted via abortSignal
Steps to Reproduce
- Using
@sentry/node
with express instrumentation - Calling
streamText()
- Potentially abort request via
abortSignal
Expected Result
Regular abort, no errors.
Actual Result

Additional Context
Tip: React with π to help prioritize this issue. Please use comments to provide useful context, avoiding +1
or me too
, to help us triage it.
shestpa and NotoriousGD
Metadata
Metadata
Assignees
Projects
Status
No status