Skip to content

Commit 76d311d

Browse files
authored
fix: Error in some contexts when using Error.captureStackTrace() (#4)
1 parent e3f9a99 commit 76d311d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/lib/serialize.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,5 @@ export class UnserializableParamError extends Error {
4545
constructor(name: string, message: string) {
4646
super(`Could not serialize parameter: '${name}' ${message}`)
4747
this.name = this.constructor.name
48-
Error.captureStackTrace(this, this.constructor)
4948
}
5049
}

0 commit comments

Comments
 (0)