repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve changeConfiguration.
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
OcppError.js
diff --git
a/src/charging-station/OcppError.js
b/src/charging-station/OcppError.js
index 1793eae3cded9cc8fe34aa6d06d35587509279f3..89ead59a953473e53cb58098e08fb6c50f0578b1 100644
(file)
--- 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
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);
}
}
}
}