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.
1 parent 68fa4d7 commit b800357Copy full SHA for b800357
packages/platform-core/src/errors.ts
@@ -10,10 +10,11 @@ export class BaseError extends Error {
10
// Ensure the name of this error is the same as the class name
11
this.name = this.constructor.name
12
13
+ // Disabling due to https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-error-capture-stack-trace.md
14
// Set stack trace to caller
- if (Error.captureStackTrace) {
15
- Error.captureStackTrace(this, this.constructor)
16
- }
+ // if (Error.captureStackTrace) {
+ // Error.captureStackTrace(this, this.constructor)
17
+ // }
18
}
19
20
0 commit comments