Skip to content

Commit

Permalink
Log as error when we fail to validate an interpreter (microsoft/vscod…
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj authored and wesm committed Mar 28, 2024
1 parent 3d0d9d8 commit 58b8ea9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { createDeferred, Deferred } from '../../../common/utils/async';
import { createRunningWorkerPool, IWorkerPool, QueuePosition } from '../../../common/utils/workerPool';
import { getInterpreterInfo, InterpreterInformation } from './interpreter';
import { buildPythonExecInfo } from '../../exec';
import { traceVerbose } from '../../../logging';
import { traceError } from '../../../logging';
import { Conda } from '../../common/environmentManagers/conda';
import { PythonEnvInfo, PythonEnvKind } from '.';

Expand Down Expand Up @@ -35,7 +35,7 @@ async function buildEnvironmentInfo(env: PythonEnvInfo): Promise<InterpreterInfo
const interpreterInfo = await getInterpreterInfo(
buildPythonExecInfo(python, undefined, env.executable.filename),
).catch((reason) => {
traceVerbose(reason);
traceError(reason);
return undefined;
});

Expand Down

0 comments on commit 58b8ea9

Please sign in to comment.