Allow developers to turn off error obfuscation in production #78643
ORESoftware
started this conversation in
Ideas
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.
-
Goals
Does anyone know how? Is there an existing switch?
https://stackoverflow.com/questions/79593591/turn-off-error-obfuscation-in-production-for-server-actions-on-vercel
Non-Goals
No response
Background
this env var doesn't seem to do what I would like:
export NEXT_PUBLIC_DEBUG_ERRORS=true
Proposal
Another env that can tell next.js to send errors to front-end without obfuscation. These errors could be on component render or server actions, but in my case I am more concerned with server actions.
Beta Was this translation helpful? Give feedback.
All reactions