next.js
next.js copied to clipboard
feat: dedupe consecutive captured console errors
What
We've introduced the capturing of console.error
output as errors in #71424 , there's a known issue that a lot of console for instance the log in strict mode will be caputred twice. This PR improves that situation a little bit to avoid the two consecutive errors being both captured, only one is enough.