Skip to content

Commit 92af495

Browse files
committed
updated error message for None path
1 parent 92847ad commit 92af495

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/commands/v2/pysa_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def invalid_models_to_diagnostics(
9393
for model in invalid_models:
9494
if model.path is None:
9595
self.log_and_show_message_to_client(
96-
"Path cannot be None", lsp.MessageType.WARNING
96+
f"{model.full_error_message}", lsp.MessageType.WARNING
9797
)
9898
else:
9999
result.setdefault(Path(model.path), []).append(

0 commit comments

Comments
 (0)