Skip to content

fix: avoid LSP error with unsupported window/logMessage - #392

Merged
AntoineGS merged 1 commit into
masterfrom
fix_grabbing_all_lsp_logs
Mar 21, 2025
Merged

fix: avoid LSP error with unsupported window/logMessage#392
AntoineGS merged 1 commit into
masterfrom
fix_grabbing_all_lsp_logs

Conversation

@AntoineGS

Copy link
Copy Markdown
Collaborator

Some LSP servers like jsonlsp don't support window/logMessage method, causing potential errors. Move the handler to client config to avoid this.
Fixes #389

Some LSP servers like jsonlsp don't support window/logMessage method,
causing potential errors. Move the handler to client config to avoid this.
Fixes #389
@AntoineGS
AntoineGS merged commit de1308f into master Mar 21, 2025
@AntoineGS
AntoineGS deleted the fix_grabbing_all_lsp_logs branch March 21, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recent update upgrades log messages from other LSPs to WARN and ERROR levels

1 participant