mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
debug: remove debugMisconfiuration
This commit is contained in:
@@ -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" : {
|
||||
|
||||
Reference in New Issue
Block a user