File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { Disposable } from 'vscode';
22import { PythonEnvironmentApi } from '../../api' ;
33import { traceInfo } from '../../common/logging' ;
44import { EventNames } from '../../common/telemetry/constants' ;
5+ import { classifyError } from '../../common/telemetry/errorClassifier' ;
56import { sendTelemetryEvent } from '../../common/telemetry/sender' ;
67import { getPythonApi } from '../../features/pythonApi' ;
78import { PythonProjectManager } from '../../internal.api' ;
@@ -33,6 +34,10 @@ export async function registerPyenvFeatures(
3334 }
3435 } catch ( ex ) {
3536 traceInfo ( 'Pyenv not found, turning off pyenv features.' , ex ) ;
37+ sendTelemetryEvent ( EventNames . MANAGER_REGISTRATION_FAILED , undefined , {
38+ managerName : 'pyenv' ,
39+ errorType : classifyError ( ex ) ,
40+ } ) ;
3641 await notifyMissingManagerIfDefault ( 'ms-python.python:pyenv' , projectManager , api ) ;
3742 }
3843}
You can’t perform that action at this time.
0 commit comments