Skip to content

Commit fdc2eec

Browse files
committed
chore(telemetry): use accurate wording in post-emit warn
`warnPostEmit` is shared by seven methods now, including `log`, `logError`, and `phase`, which aren't strictly mutations. "mutation dropped" was accurate only for the original setProperty/setMeasurement callers. Generalize to "call ignored".
1 parent 7595903 commit fdc2eec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/telemetry/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export class TelemetryService implements vscode.Disposable, TelemetryReporter {
178178
let mark: "aborted" | "error" | undefined;
179179
const warnPostEmit = (op: string, name: string): void => {
180180
this.logger.warn(
181-
`Telemetry span '${eventName}' ${op}('${name}') called after emit; mutation dropped`,
181+
`Telemetry span '${eventName}' ${op}('${name}') called after emit; call ignored`,
182182
);
183183
};
184184
const emitSpanLog = (

0 commit comments

Comments
 (0)