-
Notifications
You must be signed in to change notification settings - Fork 2
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
Misleading error message when credentials are invalid #172
Labels
bug
Something isn't working
Comments
diagnostic = Diagnostic(
range=Range(
start=Position(line=line_number, character=start_char),
end=Position(line=line_number, character=end_char),
),
message=f"Dataset '{dataset_name}' has an invalid type '{dataset_type}'. {dataset_exception}",
severity=DiagnosticSeverity.Error,
source="Kedro LSP",
)
diagnostics.append(diagnostic) This seems to be a message we added ourselves. What if we just brings the raw exception? |
I guess you mean vscode-kedro/bundled/tool/lsp_server.py Lines 621 to 639 in c4cde3d
I agree, just not making assumptions about the underlying exception should be good |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Context
Steps to Reproduce
Checklist
Cmd + P
andPython: Select Interpeter
Expected Result
Actual Result
Your Environment
pip show kedro
orkedro -V
):python -V
):The text was updated successfully, but these errors were encountered: