Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(nextjs): Prevent webpack 5 from crashing server (#3642)
It seems that awaiting a flush() call is throwing errors in Webpack 5. This crashes the server as the handler has already sent a response at that point. This patch wraps the flush call in a try, catch until we can figure out a better fix.
- Loading branch information