Commit f71e08e
committed
fix: catch ElectronShellOpenExternalError in IPC handler to preserve boolean contract
The openExternal IPC handler was propagating ElectronShellOpenExternalError
as a rejection instead of resolving with false, breaking the boolean contract
expected by renderer callers. Use Effect.orElseSucceed to return false on
failure, matching the result: Schema.Boolean contract.1 parent f5fe411 commit f71e08e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
0 commit comments