next.js
40b0e3d8 - Preserve init errors from async route modules (#95799)

Commit
38 days ago
Preserve init errors from async route modules (#95799) Extracted from https://github.com/vercel/next.js/pull/95468. We did not have error handling around async module initialization. As a result, in `output: 'export'` mode, an error during async initialization were reported as unhandled rejections. Now it properly fails the build.
Author
Parents
Loading