refactor: revert overzealous cleanup
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 5 Jun 2023 19:46:25 +0000 (21:46 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 5 Jun 2023 19:46:25 +0000 (21:46 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts

index 8c6ec224f1edf91b7945ed6939bdbd07857850f1..cdede34b6dc624bfdcf101f8090dd82508540053 100644 (file)
@@ -899,6 +899,7 @@ export class OCPP16IncomingRequestService extends OCPPIncomingRequestService {
             >(chargingStation, OCPP16RequestCommand.START_TRANSACTION, startTransactionPayload)
           ).idTagInfo.status === OCPP16AuthorizationStatus.ACCEPTED
         ) {
+          logger.debug(remoteStartTransactionLogMsg);
           return OCPP16Constants.OCPP_RESPONSE_ACCEPTED;
         }
         return this.notifyRemoteStartTransactionRejected(
@@ -933,6 +934,7 @@ export class OCPP16IncomingRequestService extends OCPPIncomingRequestService {
           })
         ).idTagInfo.status === OCPP16AuthorizationStatus.ACCEPTED
       ) {
+        logger.debug(remoteStartTransactionLogMsg);
         return OCPP16Constants.OCPP_RESPONSE_ACCEPTED;
       }
       return this.notifyRemoteStartTransactionRejected(