Skip to content

Commit 862a83b

Browse files
committed
stop setting Error as SentryError prototype
1 parent b93373a commit 862a83b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/utils/src/error.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export class SentryError extends Error {
99
super(message);
1010

1111
this.name = new.target.prototype.constructor.name;
12-
Object.setPrototypeOf(this, new.target.prototype);
1312
this.logLevel = logLevel;
1413
}
1514
}

0 commit comments

Comments
 (0)