Skip to content

Add support for nodejs 24 stacktraces#1887

Draft
Kevin Green (KevinGreen) wants to merge 2 commits intomainfrom
node24-stacktrace
Draft

Add support for nodejs 24 stacktraces#1887
Kevin Green (KevinGreen) wants to merge 2 commits intomainfrom
node24-stacktrace

Conversation

@KevinGreen
Copy link
Copy Markdown

Nodejs 24 pulled in v8 updates that changed how stack traces are reported.

Before:

Error: Something went wrong
    at c (/app/index.js:10:9)
    at b (/app/index.js:6:3)
    at a (/app/index.js:2:3)
    at Object.<anonymous> (/app/index.js:13:1)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)

Node24:

Error: Something went wrong
    at c (file:///app/index.js:10:9)
    at b (file:///app/index.js:6:3)
    at a (file:///app/index.js:2:3)
    at file:///app/index.js:13:1
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at executeUserEntryPoint (node:internal/modules/run_main:81:12)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant