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
Do not throw an error at OCPP message sending to avoid crashing the
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
UIWebSocketServer.ts
diff --git
a/src/charging-station/UIWebSocketServer.ts
b/src/charging-station/UIWebSocketServer.ts
index dba59e9206b4a32583c049bc64d4154abb5d5fd4..96e9a96896be609ff4a09760c33900886e3aa473 100644
(file)
--- a/
src/charging-station/UIWebSocketServer.ts
+++ b/
src/charging-station/UIWebSocketServer.ts
@@
-23,7
+23,7
@@
export default class UIWebSocketServer extends Server {
}
}
- public broadcastToClients(message: string
| Record<string, unknown>
): void {
+ public broadcastToClients(message: string): void {
for (const client of this.clients) {
if (client?.readyState === OPEN) {
client.send(message);