HansH
tRPC2y ago
3 replies
Hans

Errors not caught in procedures

I have an application that uses Solid Start
@solidjs/start
. Most Solid Start apps use the
fetchRequestHandler
. It seems that the behavior changed recently in that errors thrown inside procedures no longer get caught and will crash server.

Environment:
- node 20.3.1
- pnpm (I have tried on npm as well)
- Solid Start
- tRPC fetchRequestHandler

Minimal Reproduction Repository
https://github.com/hansoksendahl/trpc-not-catch-error
GitHub
This is a minimal reproduction repository for tPRC using the fetchRequestHandler in Solid Start - hansoksendahl/trpc-not-catch-error
GitHub - hansoksendahl/trpc-not-catch-error: This is a minimal repr...
Was this page helpful?