Replies: 1 comment
-
duplicated with: #2492 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the
server-runtime
module, thedecodeData
function incookies.ts
does not log any errors when an exception is caught.we should at least log the error instead of leaving it unhandled. This would make debugging easier, especially for those who are not familiar with how Remix handles cookies.
Does this look good to you?
https://github.com/flameddd/remix/blob/d781cc3921d11c475ec40ac2afc02a49a22d10fc/packages/remix-server-runtime/cookies.ts#L190
I can raise a PR for this, but I need some suggest what kind of message we should leave ?
thank for all
Beta Was this translation helpful? Give feedback.
All reactions