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
Incoming requests payload validation with JSON schemas (#135)
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
ocpp
/
1.6
/
OCPP16ResponseService.ts
diff --git
a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
index 9093187d38a23c10f527932eca65702cc206acac..7eef0270865e752ed836f45051b97b3a8999f423 100644
(file)
--- a/
src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
+++ b/
src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
@@
-80,7
+80,7
@@
export default class OCPP16ResponseService extends OCPPResponseService {
// Throw exception
throw new OCPPError(
ErrorType.NOT_IMPLEMENTED,
// Throw exception
throw new OCPPError(
ErrorType.NOT_IMPLEMENTED,
- `${commandName} is not implemented to handle request response
payload
${JSON.stringify(
+ `${commandName} is not implemented to handle request response
PDU
${JSON.stringify(
payload,
null,
2
payload,
null,
2
@@
-92,7
+92,7
@@
export default class OCPP16ResponseService extends OCPPResponseService {
} else {
throw new OCPPError(
ErrorType.SECURITY_ERROR,
} else {
throw new OCPPError(
ErrorType.SECURITY_ERROR,
- `${commandName} cannot be issued to handle request response
payload
${JSON.stringify(
+ `${commandName} cannot be issued to handle request response
PDU
${JSON.stringify(
payload,
null,
2
payload,
null,
2