Commit 4e9afeb
committed
fix: don't send server stack trace to client
fixes #1967
Avoid sending Error.stack to the client. Stack traces can leak
production file paths, internal function names, and other sensitive info, increasing
attack surface.1 parent 3b02718 commit 4e9afeb
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments