Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log as error when we fail to validate an interpreter #18163

Merged
merged 1 commit into from
Dec 10, 2021

Conversation

karrtikr
Copy link

[DEBUG 2021-11-9 14:47:26.679]: [Error: spawn cmd.exe ENOENT
	at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
	at onErrorNT (internal/child_process.js:465:16)
	at processTicksAndRejections (internal/process/task_queues.js:80:21)] {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn cmd.exe',
  path: 'cmd.exe',
  spawnargs: [
    '/d',
    '/s',
    '/c',
    '""C:\\Users\\Christopher\\AppData\\Local\\Programs\\Python\\Python310\\python.exe" "c:\\Users\\Christopher\\.vscode\\extensions\\ms-python.python-2021.12.1559732655\\pythonFiles\\interpreterInfo.py""'
  ],
  cmd: '"C:\\Users\\Christopher\\AppData\\Local\\Programs\\Python\\Python310\\python.exe" "c:\\Users\\Christopher\\.vscode\\extensions\\ms-python.python-2021.12.1559732655\\pythonFiles\\interpreterInfo.py"'
}

Currently errors like this #18138 (comment) only appear in debug level.

@karrtikr karrtikr added no-changelog No news entry required skip tests Updates to tests unnecessary labels Dec 10, 2021
@karrtikr karrtikr merged commit 927bc3b into microsoft:main Dec 10, 2021
@karrtikr karrtikr deleted the jss branch December 10, 2021 14:00
wesm pushed a commit to posit-dev/positron that referenced this pull request Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog No news entry required skip tests Updates to tests unnecessary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant