how to turn-off error obfuscation for server actions in Production #78572
Unanswered
ORESoftware
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
If we have a server action like this:
on the client, the error is obfuscated - now I know we can do this instead:
but we have a lot of code that simply throws and re-factoring it all on front-end and backend would be unideal. I simply want to switch off error obfuscation in production - how?
Additional information
https://gist.github.com/ORESoftware/5cd31babcb46d07c940af18474e26910
Example
https://gist.github.com/ORESoftware/5cd31babcb46d07c940af18474e26910
Beta Was this translation helpful? Give feedback.
All reactions