X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2FOcppError.js;h=89ead59a953473e53cb58098e08fb6c50f0578b1;hb=488fd3a755df336223b6d469a07c7605d325289b;hp=1793eae3cded9cc8fe34aa6d06d35587509279f3;hpb=7dde0b73302613be132c41e1f28a42de555dc2b6;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/OcppError.js b/src/charging-station/OcppError.js index 1793eae3..89ead59a 100644 --- a/src/charging-station/OcppError.js +++ b/src/charging-station/OcppError.js @@ -8,7 +8,7 @@ class OCPPError extends Error { Object.setPrototypeOf(this, OCPPError.prototype); // for instanceof - Error.captureStackTrace ? (Error.captureStackTrace(this, this.constructor)) : (this.stack = (new Error()).stack); + Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : (this.stack = (new Error()).stack); } }