tRPCttRPC
Powered by
HansH
tRPC•2y ago•
3 replies
Hans

Errors not caught in procedures

I have an application that uses Solid Start
@solidjs/start
@solidjs/start
. Most Solid Start apps use the
fetchRequestHandler
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
GitHub - hansoksendahl/trpc-not-catch-error: This is a minimal repr...
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...
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Procedures with paramters.
brumbrum_brumBbrumbrum_brum / ❓-help
2y ago
Nested tRPC procedures.
Deepak SharmaDDeepak Sharma / ❓-help
2y ago
Can i use try/catch in procedures?
Answer OverflowAAnswer Overflow / ❓-help
3y ago