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