Skip to content

Commit 99bd8d6

Browse files
authored
don't log the actual profile data... (microsoft#163987)
1 parent 6a62d4f commit 99bd8d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/extensions/electron-sandbox/extensionsAutoProfiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export class ExtensionsAutoProfiler extends Disposable implements IWorkbenchCont
161161
// print message to log
162162
const path = joinPath(this._environmentServie.tmpDir, `exthost-${Math.random().toString(16).slice(2, 8)}.cpuprofile`);
163163
await this._fileService.writeFile(path, VSBuffer.fromString(JSON.stringify(profile.data)));
164-
this._logService.warn(`UNRESPONSIVE extension host: '${top}' took ${topPercentage}% of ${topAggregation / 1e3}ms, saved PROFILE here: '${path}'`, profile);
164+
this._logService.warn(`UNRESPONSIVE extension host: '${top}' took ${topPercentage}% of ${topAggregation / 1e3}ms, saved PROFILE here: '${path}'`);
165165

166166
type UnresponsiveData = {
167167
duration: number;

0 commit comments

Comments
 (0)