]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix(ocpp): replace unsafe messagePayload as OCPPError casts with instanceof
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 16 Mar 2026 14:57:48 +0000 (15:57 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 16 Mar 2026 14:57:48 +0000 (15:57 +0100)
commitd1cd3fd58a31c27b63a8215fa2b3147636e7bdf3
tree8d138abe9fc721159f033b715d27a517bd10d703
parentc939a384684f6817de8d44d63e21b3ab3a259e2f
fix(ocpp): replace unsafe messagePayload as OCPPError casts with instanceof

6 casts in sendMessage error handling replaced with proper
instanceof OCPPError guard per existing codebase pattern.
src/charging-station/ocpp/OCPPRequestService.ts