Replies: 1 comment 2 replies
-
that message doesn’t come from react-query, so I guess it’s coming from nextJs. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a login that when it returns a 401 I need to do some specific logic. The code I show here works fine in development but in production the error that reaches the client side is obfuscated
Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
, making it impossible to do the client side error handling after the mutation callI've stuck here for some days and haven't been able to find a workable solution, if anyone has been through a similar problem please share your knowledge with me
Beta Was this translation helpful? Give feedback.
All reactions