Commit 124cf1d
committed
Restore correct stack substitution code.
We need to replace cause.stack even if convertStack returned null,
otherwise we have bad stack indexes sticking around.
The incorrect `if (stack)` was added during the TypeScript migration
in commit ed02f3f.
This restores the logic as it was before the migration.1 parent 86ff177 commit 124cf1d
1 file changed
+16
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2465 | 2465 | | |
2466 | 2466 | | |
2467 | 2467 | | |
2468 | | - | |
2469 | | - | |
2470 | | - | |
2471 | | - | |
2472 | | - | |
2473 | | - | |
2474 | | - | |
2475 | | - | |
2476 | | - | |
2477 | | - | |
2478 | | - | |
| 2468 | + | |
| 2469 | + | |
| 2470 | + | |
| 2471 | + | |
| 2472 | + | |
| 2473 | + | |
| 2474 | + | |
| 2475 | + | |
2479 | 2476 | | |
2480 | 2477 | | |
2481 | 2478 | | |
| |||
2536 | 2533 | | |
2537 | 2534 | | |
2538 | 2535 | | |
2539 | | - | |
2540 | | - | |
2541 | | - | |
2542 | | - | |
2543 | | - | |
2544 | | - | |
2545 | | - | |
2546 | | - | |
2547 | | - | |
2548 | | - | |
2549 | | - | |
| 2536 | + | |
| 2537 | + | |
| 2538 | + | |
| 2539 | + | |
| 2540 | + | |
| 2541 | + | |
| 2542 | + | |
| 2543 | + | |
2550 | 2544 | | |
2551 | 2545 | | |
2552 | 2546 | | |
| |||
0 commit comments