-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
bugSomething isn't workingSomething isn't workingstartEverything about TanStack StartEverything about TanStack Start
Description
Which project does this relate to?
Router
Describe the bug
I‘m using <Await> to fetch some data in a notFoundComponent. When using renderToPipeableStream() I can see the following object has been thrown and not caught by an error boundary:
{
data: { data: { data: [Object], __isServerError: true } },
__isServerError: true
}
Your Example Website or App
https://stackblitz.com/edit/github-yk78pg-wpq5bb
Steps to Reproduce the Bug or Issue
- checkout the example
- run
npm i - run
npm run compile - run
node dist/main.js
Expected behavior
I would expect:
- the
defaultErrorComponentbeing invoked with the rejected promise from<Await /> - to get an actual instance of
Errorinstead of the serialized server error object
Screenshots or Videos
No response
Platform
- Version:
1.52.4
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstartEverything about TanStack StartEverything about TanStack Start
Type
Projects
Status
Ready