Skip to content

Commit ed00eac

Browse files
authored
Improve error message about missing websockets module (#528)
1 parent 5a383df commit ed00eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pylsp/python_lsp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def start_ws_lang_server(port, check_parent_process, handler_class):
109109
import websockets
110110
except ImportError as e:
111111
raise ImportError(
112-
"websocket modules missing. Please run pip install 'python-lsp-server[websockets]"
112+
"websocket modules missing. Please run: pip install 'python-lsp-server[websockets]'"
113113
) from e
114114

115115
with ThreadPoolExecutor(max_workers=10) as tpool:

0 commit comments

Comments
 (0)