mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Remove error message properties from events (#14175)
This commit is contained in:
@@ -128,7 +128,6 @@ export class ProjectsController {
|
||||
return project.dacpacOutputPath;
|
||||
} catch (err) {
|
||||
TelemetryReporter.createErrorEvent(TelemetryViews.ProjectController, TelemetryActions.build)
|
||||
.withAdditionalProperties({ error: utils.getErrorMessage(err) })
|
||||
.withAdditionalMeasurements({ duration: new Date().getMilliseconds() - startTime.getMilliseconds() })
|
||||
.send();
|
||||
|
||||
@@ -203,7 +202,6 @@ export class ProjectsController {
|
||||
const actionEndTime = new Date().getMilliseconds();
|
||||
telemetryProps.actionDuration = (actionEndTime - actionStartTime).toString();
|
||||
telemetryProps.totalDuration = (actionEndTime - buildStartTime).toString();
|
||||
telemetryProps.errorMessage = utils.getErrorMessage(err);
|
||||
|
||||
TelemetryReporter.createErrorEvent(TelemetryViews.ProjectController, TelemetryActions.publishProject)
|
||||
.withAdditionalProperties(telemetryProps)
|
||||
|
||||
Reference in New Issue
Block a user