You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError("Attempted to send error data when the @vscode/extension-telemetry module does not support it.");
As this package also use vscode.env.createTelemetryLogger, it will cause that any error happend in extension will trigger the above line, it will throw an error, and my own vscode.env.createTelemetryLogger listener will not even run.
The text was updated successfully, but these errors were encountered:
Yeah, actually I don't think it is an error. Because I haven't call reporter.sendTelemetryErrorEvent or reporter.sendTelemetryException. I just import TelemetryReporter from '@vscode/extension-telemetry', and it start to throw error and make my own listener of vscode.env.createTelemetryLogger not working.
Well this is being triggered by the automatic error catching which the telemetry API does. So if your code throws some sort of error I assume we would call the sendTelemetryErrorEvent and then fail and throw an error causing a loop. Is that what is happening here?
I reported a question before:
link: #152
To solve this issue, version 0.8.0 add a line of code:
vscode-extension-telemetry/src/common/baseTelemetrySender.ts
Line 73 in 08781f2
As this package also use vscode.env.createTelemetryLogger, it will cause that any error happend in extension will trigger the above line, it will throw an error, and my own vscode.env.createTelemetryLogger listener will not even run.
The text was updated successfully, but these errors were encountered: