Commit d603f01
fix(prisma): filter node:internal frames from stack trace
Prisma's PrismaPromise defers execution via .then(), so by the time
$allOperations fires, the user code is no longer on the call stack.
The first non-filtered frame was node:internal/process/task_queues,
producing a misleading file tag. Filter node:internal and
node:async_hooks frames so the file tag is omitted rather than wrong.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 6e5b6d5 commit d603f01
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
0 commit comments