File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { Disposable , l10n , LogOutputChannel } from 'vscode' ;
1+ import { Disposable , LogOutputChannel } from 'vscode' ;
22import { PythonEnvironmentApi } from '../../api' ;
33import { traceInfo } from '../../common/logging' ;
4- import { showErrorMessage } from '../../common/window.apis' ;
54import { getPythonApi } from '../../features/pythonApi' ;
65import { NativePythonFinder } from '../common/nativePythonFinder' ;
76import { PoetryManager } from './poetryManager' ;
@@ -20,7 +19,10 @@ export async function registerPoetryFeatures(
2019 if ( poetryPath ) {
2120 const version = await getPoetryVersion ( poetryPath ) ;
2221 if ( ! version ) {
23- showErrorMessage ( l10n . t ( 'Poetry version could not be determined.' ) ) ;
22+ traceInfo (
23+ 'Poetry found at {0}, but unable to determine version. Poetry features will not be enabled.' ,
24+ poetryPath ,
25+ ) ;
2426 return ;
2527 }
2628 traceInfo (
You can’t perform that action at this time.
0 commit comments