Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Exception loses message #1402

Open
granicz opened this issue Apr 4, 2024 · 0 comments
Open

System.Exception loses message #1402

granicz opened this issue Apr 4, 2024 · 0 comments
Assignees
Labels

Comments

@granicz
Copy link
Member

granicz commented Apr 4, 2024

I am throwing an exception with failwithf "...." and catch it as:

try
    ...
with
| exn ->
    printfn "%A" exn

... and find that the error message text is lost. (So exn.Message doesn't have it.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants