Skip to content

Instantly share code, notes, and snippets.

@davidgrenier
Created November 25, 2011 02:57
Show Gist options
  • Select an option

  • Save davidgrenier/1392731 to your computer and use it in GitHub Desktop.

Select an option

Save davidgrenier/1392731 to your computer and use it in GitHub Desktop.
ExceptionCaught
let fn () = failwith "Test";;
async {
try
fn ()
with e -> printfn "Catched %A" e
} |> Async.RunSynchronously
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment