Commit a3bc32b
committed
Scope setup script catch to only handle runForThread failures
Add Effect.ignoreCause to the activity dispatch inside Effect.tap so
that errors from appendSetupScriptActivity don't propagate to the outer
Effect.catch handler. Previously, if the setup script started
successfully but the activity dispatch failed, the catch handler would
incorrectly emit a setup-script.failed activity even though the terminal
was already open and the script command had already been written.1 parent d3b8b2e commit a3bc32b
1 file changed
+7
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
677 | | - | |
| 677 | + | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
681 | | - | |
| 680 | + | |
682 | 681 | | |
683 | 682 | | |
684 | 683 | | |
| |||
692 | 691 | | |
693 | 692 | | |
694 | 693 | | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
703 | 699 | | |
704 | 700 | | |
705 | 701 | | |
| |||
0 commit comments