dotnet-websharper / core

WebSharper - Full-stack, functional, reactive web apps and microservices in F# and C#
https://websharper.com
Apache License 2.0
589 stars 52 forks source link

System.Exception loses message #1402

Open granicz opened 3 months ago

granicz commented 3 months ago

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.)