You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
If a login failed and i throw Error, Its shows up in the Client side in Dev, but when deployed its showing 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 in this error instance which may provide additional details about the nature of the error.
How do we handle these case, do i need to just return error message instead of throw Error?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
If a login failed and i throw Error, Its shows up in the Client side in Dev, but when deployed its showing
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 in this error instance which may provide additional details about the nature of the error.
How do we handle these case, do i need to just return error message instead of throw Error?
Beta Was this translation helpful? Give feedback.
All reactions