diff --git a/src/vs/base/common/event.ts b/src/vs/base/common/event.ts index 7cefcdcedbd13..4ab515e5253be 100644 --- a/src/vs/base/common/event.ts +++ b/src/vs/base/common/event.ts @@ -1066,7 +1066,7 @@ export class Emitter { get event(): Event { this._event ??= (callback: (e: T) => any, thisArgs?: any, disposables?: IDisposable[] | DisposableStore) => { if (this._leakageMon && this._size > this._leakageMon.threshold * 3) { - const message = `[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size}/${this._leakageMon.threshold})`; + const message = `[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`; console.warn(message); const tuple = this._leakageMon.getMostFrequentStack() ?? ['UNKNOWN stack', -1];