File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed
Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -25,18 +25,13 @@ export async function registerCondaFeatures(
2525 // get Conda will return only ONE conda manager, that correlates to a single conda install
2626 condaPath = await getConda ( nativeFinder ) ;
2727 } catch ( ex ) {
28- // Only treat the known "Conda not found" error as a skip;
29- // other errors (e.g. PET timeout/crash) should propagate to safeRegister.
30- if ( ex instanceof Error && ex . message === 'Conda not found' ) {
31- traceInfo ( 'Conda not found, turning off conda features.' , ex ) ;
32- sendTelemetryEvent ( EventNames . MANAGER_REGISTRATION_SKIPPED , undefined , {
33- managerName : 'conda' ,
34- reason : 'tool_not_found' ,
35- } ) ;
36- await notifyMissingManagerIfDefault ( 'ms-python.python:conda' , projectManager , api ) ;
37- return ;
38- }
39- throw ex ;
28+ traceInfo ( 'Conda not found, turning off conda features.' , ex ) ;
29+ sendTelemetryEvent ( EventNames . MANAGER_REGISTRATION_SKIPPED , undefined , {
30+ managerName : 'conda' ,
31+ reason : 'tool_not_found' ,
32+ } ) ;
33+ await notifyMissingManagerIfDefault ( 'ms-python.python:conda' , projectManager , api ) ;
34+ return ;
4035 }
4136
4237 // Conda was found — errors below are real registration failures (let safeRegister handle them)
You can’t perform that action at this time.
0 commit comments