Commit 49a9347
committed
fix: prevent "Current ask promise was ignored" error from displaying to users
- Changed synchronous throw statements to Promise.reject() in Task.ask() method
- This allows .catch() handlers in writeToFileTool to properly suppress expected errors
- Fixes issue #6443 where users saw error messages during file writing after diff edits
- All existing tests continue to pass1 parent f3d2504 commit 49a9347
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
640 | | - | |
| 640 | + | |
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
| 647 | + | |
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
702 | | - | |
| 702 | + | |
703 | 703 | | |
704 | 704 | | |
705 | 705 | | |
| |||
0 commit comments