Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Log vscode error in a visible way (#9668)

Engel Nysta19cd193d9ac
diff --git a/openhands/cli/vscode_extension.py b/openhands/cli/vscode_extension.py
index 720ccca346..72de8d51dc 100644
--- a/openhands/cli/vscode_extension.py
+++ b/openhands/cli/vscode_extension.py
@@ -270,7 +270,9 @@ def _attempt_bundled_install(editor_command: str, editor_name: str) -> bool:
else:
logger.debug(f'Bundled .vsix not found at {vsix_path}.')
except Exception as e:
- logger.debug(f'Could not locate bundled .vsix: {e}.')
+ logger.warning(
+ f'Could not auto-install extension. Please make sure "code" command is in PATH. Error: {e}'
+ )
return False