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
feat(astro): Add tracking of errors during HTML streaming (#15995)
Astro components are rendered in a stream, so if a component that is not
the page fails during a request, this error is not thrown by the `await
next()` call, only when the component is reached in the response stream.
The code was iterating over the response stream assuming it was
infallible, so component errors were being ignored by sentry and hidden
from the user. This PR wraps the iteration on a `try/catch` pair to
report the error and forward it along to the error handling pipeline.
0 commit comments