We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76415ef + 34645e4 commit 110e2f6Copy full SHA for 110e2f6
src/vs/platform/profiling/common/profilingTelemetrySpec.ts
@@ -67,11 +67,11 @@ class PerformanceError extends Error {
67
readonly selfTime: number;
68
69
constructor(data: SampleData) {
70
- super('[PerfSampleError]');
+ super(`PerfSampleError: by ${data.source} in ${data.sample.location}`);
71
this.name = 'PerfSampleError';
72
this.selfTime = data.sample.selfTime;
73
74
const trace = [data.sample.absLocation, ...data.sample.caller.map(c => c.absLocation)];
75
- this.stack = `${this.message} by ${data.source} in ${data.sample.location}\n\t at ${trace.join('\n\t at ')}`;
+ this.stack = `\n\t at ${trace.join('\n\t at ')}`;
76
}
77
0 commit comments