fix create-t3-app (and trpc) dangerous default?
By default, trpc (https://github.com/trpc/trpc/discussions/2071) and create-t3-app send server errors to clients
Here, shape contains the stack trace of the error and a message which can contain sensitive info.
I updated my errorFormatter to hide these sensitive info:
Do you think it should be a default?
Here, shape contains the stack trace of the error and a message which can contain sensitive info.
I updated my errorFormatter to hide these sensitive info:
Do you think it should be a default?
GitHub
I noticed the client side error message for unhandled server side errors contains the original error message. I don't think that is a good idea, at least for my case as those can be quite s...
