Skip to content

Commit

Permalink
updated error message for None path
Browse files Browse the repository at this point in the history
  • Loading branch information
m0mosenpai committed Jul 19, 2021
1 parent 92847ad commit 92af495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/commands/v2/pysa_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def invalid_models_to_diagnostics(
for model in invalid_models:
if model.path is None:
self.log_and_show_message_to_client(
"Path cannot be None", lsp.MessageType.WARNING
f"{model.full_error_message}", lsp.MessageType.WARNING
)
else:
result.setdefault(Path(model.path), []).append(
Expand Down

0 comments on commit 92af495

Please sign in to comment.