Link to the code that reproduces this issue
sandbox link
To Reproduce
doing a useTransition calling server action which throws error from server if something happens, development build can catch the error but in production build:
an error occurred in the server components render. the specific message is omitted in production builds to avoid leaking sensitive details
Current vs. Expected behavior
same as developement where the error message can be catched from client side
Provide environment information
Which area(s) are affected? (Select all that apply)
Not sure
Which stage(s) are affected? (Select all that apply)
Vercel (Deployed)
Additional context
No response