Skip to content

Commit

Permalink
Merge 72d38e9 into 8f6d10e
Browse files Browse the repository at this point in the history
  • Loading branch information
AVykhrystyuk committed Sep 18, 2019
2 parents 8f6d10e + 72d38e9 commit bab67ab
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/interfaces/di-error.ts
Expand Up @@ -6,13 +6,6 @@ export class DependencyInjectionError extends Error {
defineProperty(this, 'name', 'DependencyInjectionError'); // this.constructor.name);

defineProperty(this, 'innerError', innerError);

// Maintains proper stack trace for where our error was thrown (only available on V8)
if (typeof Error.captureStackTrace === 'function') {
Error.captureStackTrace(this, this.constructor);
} else {
defineProperty(this, 'stack', new Error(message).stack);
}
}
}

Expand Down

0 comments on commit bab67ab

Please sign in to comment.