Replies: 1 comment 5 replies
-
FWIW this is documented here. My recommendation with the current behavior would be to log a user session id along with the unsanitized errors in |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, when the server mode is not development, Remix removes the details of any errors being thrown before they are sent to the client: https://github.com/remix-run/remix/blob/main/packages/remix-server-runtime/errors.ts#L58
Further, as far as I can tell, this behaviour is not documented.
While it makes total sense to do this for most applications, I am working on an internal app accessible only on a corporate network, and while we're not worried about leaking internal details in the stack trace, displaying the full error details and stack trace if something goes really wrong makes it easier for us to diagnose issues the user is having.
I propose:
Beta Was this translation helpful? Give feedback.
All reactions