if (this.getEnableStatistics()) {
             this.performanceStatistics.addRequestStatistic(commandName, messageType);
           }
+          logger.debug(
+            `${this.logPrefix()} << Command '${commandName}' received request payload: ${JSON.stringify(
+              request
+            )}`
+          );
           // Process the call
           await this.ocppIncomingRequestService.handleRequest(
             messageId,
             commandName,
             commandPayload
           );
-          logger.debug(
-            `${this.logPrefix()} << Command '${commandName}' received request payload: ${JSON.stringify(
-              request
-            )}`
-          );
           break;
         // Outcome Message
         case MessageType.CALL_RESULT_MESSAGE:
               requestCommandName
             );
           }
+          logger.debug(
+            `${this.logPrefix()} << Command '${requestCommandName}' received response payload: ${JSON.stringify(
+              request
+            )}`
+          );
           if (!responseCallback) {
             // Error
             throw new OCPPError(
             );
           }
           responseCallback(commandName, requestPayload);
-          logger.debug(
-            `${this.logPrefix()} << Command '${requestCommandName}' received response payload: ${JSON.stringify(
-              request
-            )}`
-          );
           break;
         // Error Message
         case MessageType.CALL_ERROR_MESSAGE:
               `Cached request for message id ${messageId} error response is not iterable`
             );
           }
+          logger.debug(
+            `${this.logPrefix()} << Command '${requestCommandName}' received error payload: ${JSON.stringify(
+              request
+            )}`
+          );
           if (!rejectCallback) {
             // Error
             throw new OCPPError(
           rejectCallback(
             new OCPPError(commandName, commandPayload.toString(), requestCommandName, errorDetails)
           );
-          logger.debug(
-            `${this.logPrefix()} << Command '${requestCommandName}' received error payload: ${JSON.stringify(
-              request
-            )}`
-          );
           break;
         // Error
         default: