Skip to content

Commit 1098595

Browse files
committed
Don't anonymize node's internals
1 parent 713ef8c commit 1098595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v-next/hardhat/src/internal/cli/telemetry/sentry/anonymizer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export class Anonymizer {
139139
const nodeModulesIndex = parts.indexOf("node_modules");
140140

141141
if (nodeModulesIndex === -1) {
142-
if (filename.startsWith("internal")) {
142+
if (filename.startsWith("internal") || filename.startsWith("node:")) {
143143
// show internal parts of the stack trace
144144
return {
145145
anonymizedFilename: filename,

0 commit comments

Comments
 (0)