From 68fcc690609c235100b3c094f16490e6c9aacbc3 Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Mon, 28 Jul 2025 18:01:53 +0200 Subject: [PATCH] Improve logging --- src/solidlsp/language_servers/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/solidlsp/language_servers/common.py b/src/solidlsp/language_servers/common.py index 8163d5b3..1587d0a9 100644 --- a/src/solidlsp/language_servers/common.py +++ b/src/solidlsp/language_servers/common.py @@ -80,7 +80,6 @@ class RuntimeDependencyCollection: import pwd kwargs["user"] = pwd.getpwuid(os.getuid()).pw_name - log.info("Running command '%s' in '%s'", command, cwd) is_windows = platform.system() == "Windows" if not isinstance(command, str) and not is_windows: @@ -88,6 +87,8 @@ class RuntimeDependencyCollection: # on Linux/macOS command = " ".join(command) + log.info("Running command %s in '%s'", f"'{command}'" if isinstance(command, str) else command, cwd) + completed_process = subprocess.run( command, shell=True,