X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fexception%2FBaseError.ts;h=4a94fc26fd24bf952331c5a7cbb52bead8fdc0e7;hb=5aeeae8227c78b02e0a68a3b52a5f6114ff49f3a;hp=ce37fd98d96df2e88f82eb191e85112db0ad6a4f;hpb=2ebd83d0686b06cfade9322a2d94210774c6ea34;p=e-mobility-charging-stations-simulator.git diff --git a/src/exception/BaseError.ts b/src/exception/BaseError.ts index ce37fd98..4a94fc26 100644 --- a/src/exception/BaseError.ts +++ b/src/exception/BaseError.ts @@ -6,8 +6,5 @@ export class BaseError extends Error { this.name = new.target.name this.date = new Date() Object.setPrototypeOf(this, new.target.prototype) - if (typeof Error.captureStackTrace === 'function') { - Error.captureStackTrace(this, BaseError) - } } }