josephJ
tRPC3y 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?
Was this page helpful?