sveltekit-flash-message icon indicating copy to clipboard operation
sveltekit-flash-message copied to clipboard

Error: Cookie "flash" is too large, and will be discarded by the browser

Open devinellis opened this issue 1 year ago • 0 comments

Kind of embarrasing on my end but I thought it was worth noting here. I accidentally sent way too long of a message to a flash and it seems to crash the vite dev server, which in turn causes superForms to not handle the response properly and leaves the UI in a $subitting state indefinitely.

I'll be fixing the issue on my end by truncating any messages, but it might be worth doing that internally and logging a warning?

devinellis avatar Nov 01 '24 22:11 devinellis