tRPCttRPC
Powered by
josephJ
tRPC•3y ago•
3 replies
joseph

TRPC & Zod Logging

I'm building a backend and if my input validation fails I want to log the failure but couldn't figure out a way as trpc seems to handle the error straigth away, anyone know how this could be done?
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Zod.enum makes my tRPC explode
rikRrik / ❓-help
2y ago
how to handle error from Zod in trpc?
MarMMar / ❓-help
3y ago
Make tRPC return Bad Request on Zod validation error?
ApteryxAApteryx / ❓-help
3y ago