perf(ui): only build WS payload if connection is opened
[e-mobility-charging-stations-simulator.git] / src / exception / OCPPError.ts
index 0c69eb23e31e957cbb2c5458a216867b49f5f9be..f624d7e79704026eb60925f88ba3ddd0ae56de97 100644 (file)
@@ -24,6 +24,6 @@ export class OCPPError extends BaseError {
 
     this.code = code ?? ErrorType.GENERIC_ERROR;
     this.command = command;
-    this.details = details ?? Constants.EMPTY_FREEZED_OBJECT;
+    this.details = details ?? Constants.EMPTY_FROZEN_OBJECT;
   }
 }