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
Cleanup MikroORM configuration code for performance storage
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ocpp
/
OCPPError.ts
diff --git
a/src/charging-station/ocpp/OCPPError.ts
b/src/charging-station/ocpp/OCPPError.ts
index ed77d54c22fa3446677a96d2328ced2629d26c8f..9c6f825a6526a3f903c4b2a70e230b6fb2de3103 100644
(file)
--- a/
src/charging-station/ocpp/OCPPError.ts
+++ b/
src/charging-station/ocpp/OCPPError.ts
@@
-13,7
+13,7
@@
export default class OCPPError extends Error {
this.name = new.target.name;
this.code = code ?? ErrorType.GENERIC_ERROR;
this.message = message ?? '';
- this.
message = command ?? ''
;
+ this.
command = command
;
this.details = details ?? {};
Object.setPrototypeOf(this, new.target.prototype);