-
Notifications
You must be signed in to change notification settings - Fork 123
Get the exception that caused the evaluation to fail #161
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
Comments
This seems to be the last issue to make FAKE use the FCS. |
Just to clarify: I don't want to analyze the script for possible exceptions. I want to run it and catch the raised exception. |
I would love to help but I'm on my holidays!
|
Consider the evalExpression function as describe at http://fsharp.github.io/FSharp.Compiler.Service/interactive.html
no try to evaluate a failwith expression:
this causes the session to fail (which is expected). But how can I get the raised exception?
The text was updated successfully, but these errors were encountered: