Skip to content

Commit 121da78

Browse files
author
Kartik Raj
authored
Log it as error if conda run is not supported (#19185)
1 parent ae58f22 commit 121da78

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/client/pythonEnvironments/common/environmentManagers

src/client/pythonEnvironments/common/environmentManagers/conda.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { getRegistryInterpreters } from '../windowsUtils';
2020
import { EnvironmentType, PythonEnvironment } from '../../info';
2121
import { cache } from '../../../common/utils/decorators';
2222
import { isTestExecution } from '../../../common/constants';
23-
import { traceError, traceVerbose, traceWarn } from '../../../logging';
23+
import { traceError, traceVerbose } from '../../../logging';
2424
import { OUTPUT_MARKER_SCRIPT } from '../../../common/process/internal/scripts';
2525
import { buildPythonExecInfo } from '../../exec';
2626
import { getExecutablePath } from '../../info/executable';
@@ -514,7 +514,7 @@ export class Conda {
514514
public async getRunPythonArgs(env: CondaEnvInfo, forShellExecution?: boolean): Promise<string[] | undefined> {
515515
const condaVersion = await this.getCondaVersion();
516516
if (condaVersion && lt(condaVersion, CONDA_RUN_VERSION)) {
517-
traceWarn('`conda run` is not supported for conda version', condaVersion.raw);
517+
traceError('`conda run` is not supported for conda version', condaVersion.raw);
518518
return undefined;
519519
}
520520
const args = [];

0 commit comments

Comments
 (0)