Server function error handling
Hello,
When I try to catch errors thrown in server functions within an error boundary at the client side, the error is displayed in the standard format for one millisecond before my custom is displayed. Like flashing once.
This happens even I catch them in the error boundary defined in root route.
I attached a screenshot video of the view.
Any ideas?
Thank you.
5 Replies
wise-white•2mo ago
can you please share a complete reproducer project ?
firm-tanOP•2mo ago
Hi @Manuel Schiller
Here it is:
https://github.com/SihirliDev/serverFnTest
GitHub
GitHub - SihirliDev/serverFnTest
Contribute to SihirliDev/serverFnTest development by creating an account on GitHub.
wise-white•2mo ago
where is the server fn that is throwing?
firm-tanOP•2mo ago
wise-white•2mo ago
probably best is to create a github issue for this for further investigation. might be a bug, or not. lets find out