-
Notifications
You must be signed in to change notification settings - Fork 509
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
Implement SA0002 (InvalidSettingsFile) #2032
Conversation
Current coverage is
|
Previously the test used the wrong form for verifying diagnostics without a location.
❓ Would it be possible to suppress the call stack dump, as it does not really provide any useful information? |
@vweijsters It has the line and position numbers within the file where the problem occurred. It might not be exact, but it should be close. Also keep the following in mind:
|
@sharwell The line and position numbers are in the exception message, so there is no need to have the stack trace for that. Besides that, the stack trace is probably not really useful for debugging, as it will only be dumped for |
👍 Looks good otherwise |
👍 |
Implement SA0002 (InvalidSettingsFile)
Fixes #2029
Screenshot of a report when the syntax error matches the one described in #2028: