We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
console.error
error.cause
https://github.com/juliesaia/next-error-edge-repro
export const runtime = "edge";
[cause]: Error: cause...
Error causes should be included in the console log, like in the node.js runtime
Operating System: Platform: linux Arch: x64 Version: #1 SMP Tue Nov 5 00:21:55 UTC 2024 Available memory (MB): 15566 Available CPU cores: 12 Binaries: Node: 22.11.0 npm: 10.9.0 Yarn: 1.22.22 pnpm: 9.15.0 Relevant Packages: next: 15.1.2 // Latest available version is detected (15.1.2). eslint-config-next: 15.1.2 react: 19.0.0 react-dom: 19.0.0 typescript: 5.7.2 Next.js Config: output: N/A
Runtime
next dev (local), next start (local), Vercel (Deployed)
I imagine the bug is somewhere in packages/next/src/server/patch-error-inspect.ts, but not sure
packages/next/src/server/patch-error-inspect.ts
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Link to the code that reproduces this issue
https://github.com/juliesaia/next-error-edge-repro
To Reproduce
export const runtime = "edge";
[cause]: Error: cause...
)Current vs. Expected behavior
Error causes should be included in the console log, like in the node.js runtime
Provide environment information
Operating System: Platform: linux Arch: x64 Version: #1 SMP Tue Nov 5 00:21:55 UTC 2024 Available memory (MB): 15566 Available CPU cores: 12 Binaries: Node: 22.11.0 npm: 10.9.0 Yarn: 1.22.22 pnpm: 9.15.0 Relevant Packages: next: 15.1.2 // Latest available version is detected (15.1.2). eslint-config-next: 15.1.2 react: 19.0.0 react-dom: 19.0.0 typescript: 5.7.2 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Runtime
Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local), Vercel (Deployed)
Additional context
I imagine the bug is somewhere in
packages/next/src/server/patch-error-inspect.ts
, but not sureThe text was updated successfully, but these errors were encountered: