debug: remove debugMisconfiuration

This commit is contained in:
isidor 2019-11-12 12:20:59 +01:00
parent a191303640
commit 8013616a32

View file

@ -488,8 +488,6 @@ export class DebugService implements IDebugService {
}
const errorMessage = error instanceof Error ? error.message : error;
this.telemetryDebugMisconfiguration(session.configuration ? session.configuration.type : undefined, errorMessage);
await this.showError(errorMessage, isErrorWithActions(error) ? error.actions : []);
return false;
}
@ -1201,19 +1199,6 @@ export class DebugService implements IDebugService {
});
}
private telemetryDebugMisconfiguration(debugType: string | undefined, message: string): Promise<any> {
/* __GDPR__
"debugMisconfiguration" : {
"type" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"error": { "classification": "CallstackOrException", "purpose": "FeatureInsight" }
}
*/
return this.telemetryService.publicLog('debugMisconfiguration', {
type: debugType,
error: message
});
}
private telemetryDebugAddBreakpoint(breakpoint: IBreakpoint, context: string): Promise<any> {
/* __GDPR__
"debugAddBreakpoint" : {