Skip to content

Commit 0aa470e

Browse files
karthiknadigeleanorjboyd
authored andcommitted
Ensure microvenv is added to path after selection. (microsoft#21132)
fixes microsoft#21122
1 parent 82451b3 commit 0aa470e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/client/interpreter/activation/service.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,14 @@ import { EventName } from '../../telemetry/constants';
2626
import { IInterpreterService } from '../contracts';
2727
import { IEnvironmentActivationService } from './types';
2828
import { TraceOptions } from '../../logging/types';
29-
import { traceDecoratorError, traceDecoratorVerbose, traceError, traceVerbose, traceWarn } from '../../logging';
29+
import {
30+
traceDecoratorError,
31+
traceDecoratorVerbose,
32+
traceError,
33+
traceInfo,
34+
traceVerbose,
35+
traceWarn,
36+
} from '../../logging';
3037
import { Conda } from '../../pythonEnvironments/common/environmentManagers/conda';
3138
import { StopWatch } from '../../common/utils/stopWatch';
3239
import { identifyShellFromShellPath } from '../../common/terminal/shellDetectors/baseShellDetector';
@@ -295,7 +302,7 @@ export class EnvironmentActivationService implements IEnvironmentActivationServi
295302
// that's the case, wait and try again. This happens especially on AzDo
296303
const excString = (exc as Error).toString();
297304
if (condaRetryMessages.find((m) => excString.includes(m)) && tryCount < 10) {
298-
traceVerbose(`Conda is busy, attempting to retry ...`);
305+
traceInfo(`Conda is busy, attempting to retry ...`);
299306
result = undefined;
300307
tryCount += 1;
301308
await sleep(500);

0 commit comments

Comments
 (0)