Skip to content

Commit

Permalink
Improve error message about missing websockets module (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomplus authored Feb 22, 2024
1 parent 5a383df commit ed00eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylsp/python_lsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def start_ws_lang_server(port, check_parent_process, handler_class):
import websockets
except ImportError as e:
raise ImportError(
"websocket modules missing. Please run pip install 'python-lsp-server[websockets]"
"websocket modules missing. Please run: pip install 'python-lsp-server[websockets]'"
) from e

with ThreadPoolExecutor(max_workers=10) as tpool:
Expand Down

0 comments on commit ed00eac

Please sign in to comment.