File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ export default class Client extends LanguageClient implements ClientInterface {
360360 name : error . data . errorClass ,
361361 stack,
362362 } ,
363- { ...error . data } ,
363+ { ...error . data , serverVersion : this . serverVersion } ,
364364 ) ;
365365 }
366366
@@ -487,7 +487,6 @@ export default class Client extends LanguageClient implements ClientInterface {
487487 message : new vscode . TelemetryTrustedValue ( label ) ,
488488 lspVersion : this . serverVersion ,
489489 rubyVersion : this . ruby . rubyVersion ,
490- environment : os . platform ( ) ,
491490 } ,
492491 } ) ;
493492 }
Original file line number Diff line number Diff line change 1+ import os from "os" ;
2+
13import * as vscode from "vscode" ;
24
35import { RubyLsp } from "./rubyLsp" ;
@@ -128,5 +130,9 @@ async function createLogger(context: vscode.ExtensionContext) {
128130 ignoreUnhandledErrors :
129131 context . extensionMode === vscode . ExtensionMode . Test ||
130132 context . extensionMode === vscode . ExtensionMode . Development ,
133+ additionalCommonProperties : {
134+ extensionVersion : context . extension . packageJSON . version ,
135+ environment : os . platform ( ) ,
136+ } ,
131137 } ) ;
132138}
You can’t perform that action at this time.
0 commit comments