Skip to content

Commit bfbbd81

Browse files
committed
chore: small improvement to lsp error messaging
1 parent 8cc7503 commit bfbbd81

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sqlmesh/lsp/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ def ensure_context_for_document(self, document: TextDocument) -> TextDocument:
103103
# Re-check context for document now that it's loaded
104104
return self.ensure_context_for_document(document)
105105
except Exception as e:
106-
self.server.show_message(f"Error loading context: {e}", types.MessageType.Error)
106+
self.server.show_message(
107+
f"Error loading context: {e}", types.MessageType.Error
108+
)
107109
path = path.parent
108110

109111
return document

0 commit comments

Comments
 (0)