error: NEXT_REDIRECT

I'm doing a server call in RSC, but it crash the app and show this kind of error and It shows in the pic.

So, how to make a redirect when user validation failed in a trpc middleware?
https://github.com/Dieber/t3-test-redirect
1714221594910.png
image.png
1714221698896.png
GitHub
for issue. Contribute to Dieber/t3-test-redirect development by creating an account on GitHub.
Was this page helpful?