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
Fix undefined meterStop at sending stopTransaction
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ocpp
/
1.6
/
OCPP16IncomingRequestService.ts
diff --git
a/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts
b/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts
index eb5514efaa0760a666122b5c04b9cad63e736cbb..b785db03574aaf6afcd10dea5676533153d0a56e 100644
(file)
--- a/
src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts
+++ b/
src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts
@@
-276,6
+276,7
@@
export default class OCPP16IncomingRequestService extends OCPPIncomingRequestSer
) as JSONSchemaType<OCPP16TriggerMessageRequest>,
],
]);
) as JSONSchemaType<OCPP16TriggerMessageRequest>,
],
]);
+ this.validatePayload.bind(this);
}
public async incomingRequestHandler(
}
public async incomingRequestHandler(
@@
-319,7
+320,7
@@
export default class OCPP16IncomingRequestService extends OCPPIncomingRequestSer
);
} catch (error) {
// Log
);
} catch (error) {
// Log
- logger.error(chargingStation.logPrefix() + ' Handle request error:
%j
', error);
+ logger.error(chargingStation.logPrefix() + ' Handle request error:', error);
throw error;
}
} else {
throw error;
}
} else {