Skip to content

Conversation

@Luk-z
Copy link
Contributor

@Luk-z Luk-z commented Dec 9, 2025

None of next.js dev answer this issue.
To have a decent error-logging experience i think it is useful adding some info about the error.

Probably the error is caused by a malformed stateHeader and printing this information in the error message is a smart way to know what's happening.

Merging this PR would be a good deed towards all people stuck with this error log.


I used stateHeader.substring(0, 1000) to limit the chars printed but You can use whatever you want to achieve this. The important thing is to have a message that makes it clear whats happening

@nextjs-bot
Copy link
Collaborator

Allow CI Workflow Run

  • approve CI run for commit: 4bbe668

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants