-
Notifications
You must be signed in to change notification settings - Fork 789
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
Make Type Provider troubleshooting easier with better error reporting #4956
Comments
@smoothdeveloper Yes, we can. Please submit a PR for it including updating test cases. |
… provider fail at design / compile time.
@smoothdeveloper We'll need to think about this more - exceptions are how TPs currently raise diagnostics, and we can't attach stack traces to those diagnostics. |
@dsyme, sorry I somehow missed your comment. Can you expand on the meaning of "we can't attach stack traces to those diagnostics"? Is it related to how VS tooling display the errors or some policy about errors? The PR is calling |
another issue: fsprojects/Rezoom.SQL#54 |
Can we consider replacing
e.Message
withstring e
at this location where we report exceptions happening at design time.https://github.com/Microsoft/visualfsharp/blob/cea9284349e6ecc803cc39b67096b83010f0416d/src/fsharp/tainted.fs#L103
The exception details would be valuable in troubleshooting issues in type providers.
The text was updated successfully, but these errors were encountered: