forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor telemetry code #4602
Labels
Milestone
Comments
DonJayamanne
added
needs PR
debt
Covers everything internal: CI, testing, refactoring of the codebase, etc.
labels
Feb 28, 2019
Prescribed Solution:
if (ex && (eventName as any) !== 'ERROR') {
customProperties.originalEventName = eventName as any as string;
const data = { stackTrace: customProperties.stackTrace, originalEventName: eventName };
reporter.sendTelemetryEvent('ERROR', data, measures);
} |
5 tasks
@DonJayamanne, how to validate this? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When there's an error just send:
The text was updated successfully, but these errors were encountered: