Commit fc2aa37
node-executor: include err message in stack trace (#40606)
This fixes our implementation of `Error.prepareStackTrace` to include the error message when available. This matches the default behavior in v8/Node.js (https://v8.dev/docs/stack-trace-api) and can make it easier for Convex users to debug their apps. This also helps us internally understand errors in node-executor integration tests.
GitOrigin-RevId: 2f4f579379c5eab68c53de9e7e3e77c89b7b07101 parent 4624d96 commit fc2aa37
File tree
3 files changed
+15
-1
lines changed- npm-packages
- js-integration-tests
- convex
- node-executor/src
3 files changed
+15
-1
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
85 | 93 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| |||
0 commit comments