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
errorinstanceofError ? error : newError("Unexpected Server Error");
This line appears to take a thrown object and ignore it if it wasn't type Error (replacing with a new Error).
I think you should include the original object as the cause in the new Error, or at least use offer debug logging so we can see the original object being thrown.
Ideally we don't have object bubble up but it happens especially during development.
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
-
remix/packages/remix-server-runtime/server.ts
Line 242 in 36ccae4
This line appears to take a thrown object and ignore it if it wasn't type Error (replacing with a new Error).
I think you should include the original object as the cause in the new Error, or at least use offer debug logging so we can see the original object being thrown.
Ideally we don't have object bubble up but it happens especially during development.
Beta Was this translation helpful? Give feedback.
All reactions