Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@MangelMaxime
Copy link
Member

@MangelMaxime MangelMaxime commented Jul 13, 2025

Fix #302

I tested with a local reproduction and we do need both the

  • try ... with => capture exception during promise creation

     let increment model =
         failwith "dwdw"
         promise {
             return model + 1
         }
  • .catch => capture exception during promise execution

     let increment model =
         promise {
             failwith "Error"
             return model + 1
         }

@et1975 et1975 merged commit d043bd8 into v4.x Jul 14, 2025
3 checks passed
@et1975 et1975 deleted the fix-cmd-either-fable-4 branch July 14, 2025 18:37
@et1975
Copy link
Member

et1975 commented Jul 14, 2025

Released as 4.4.0

@MangelMaxime
Copy link
Member Author

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cmd.either broken when error happens

3 participants