Skip to content

Commit 14858e2

Browse files
committed
async handler
1 parent 8213f69 commit 14858e2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/routes/solid-start/v2/reference/config/solid-start.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ Path to a module whose default export handles values thrown by server functions
143143

144144
The handler can report the original value and return a safer replacement for the client. Return `undefined` to preserve the original value. The module is bundled only into the server, so it can import server-only code.
145145

146+
The handler may be async. SolidStart awaits it before serializing the error, allowing monitoring services to flush first.
147+
146148
```tsx title="vite.config.ts"
147149
solidStart({
148150
serverFunctions: {

0 commit comments

Comments
 (0)