mirror of
https://github.com/Microsoft/vscode
synced 2024-09-18 01:58:27 +00:00
parent
3702538139
commit
604b950f0d
|
@ -39,13 +39,15 @@ export class TypeScriptServerError extends Error {
|
||||||
"TypeScriptRequestErrorProperties" : {
|
"TypeScriptRequestErrorProperties" : {
|
||||||
"command" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
"command" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
|
||||||
"serverid" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
|
"serverid" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
|
||||||
"sanitizedstack" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
|
"sanitizedstack" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
|
||||||
|
"badclient" : { "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
return {
|
return {
|
||||||
command: this.serverCommand,
|
command: this.serverCommand,
|
||||||
serverid: this.serverId,
|
serverid: this.serverId,
|
||||||
sanitizedstack: this.sanitizedStack || '',
|
sanitizedstack: this.sanitizedStack || '',
|
||||||
|
badclient: /\bBADCLIENT\b/.test(this.stack || ''),
|
||||||
} as const;
|
} as const;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ interface PackageInfo {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TelemetryProperties {
|
export interface TelemetryProperties {
|
||||||
readonly [prop: string]: string | number | undefined;
|
readonly [prop: string]: string | number | boolean | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TelemetryReporter {
|
export interface TelemetryReporter {
|
||||||
|
|
Loading…
Reference in a new issue