mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 22:37:41 +00:00
debug: remove debugMisconfiuration
This commit is contained in:
parent
a191303640
commit
8013616a32
|
@ -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" : {
|
||||
|
|
Loading…
Reference in a new issue