-
-
Notifications
You must be signed in to change notification settings - Fork 258
Closed
Description
The error I'm facing is definitely a very rare-case scenario but worth handling as a developer I guess.
When someone tampers/alters the encrypted cookie from the Cookies panel in DevTools, the app breaks completely with Incorrect number of sealed components as the error.
Is there any way I can catch this error?
Firstly, I thought it is coming from the point where the cookie is getting requested, i.e from where req.session.get(cookie_name) is called. So tried wrapping that in try/ catch but the error seems to be from either iron-store or @hapi/iron I guess.
Any help?
Rohit,
vieiralucas, bigint, bryan and darrenkeen
Metadata
Metadata
Assignees
Labels
No labels
