diff --git a/src/Services/MemoryManagementService.cpp b/src/Services/MemoryManagementService.cpp index 56182676596bbae1e781a34ba0bea703f216357b..8e7f954adeb76d3547ff4e52401e6e3ace7651db 100644 --- a/src/Services/MemoryManagementService.cpp +++ b/src/Services/MemoryManagementService.cpp @@ -67,6 +67,8 @@ void MemoryManagementService::RawDataMemoryManagement::loadRawData(Message &requ // todo: Send a failed of execution report // todo: Remove the print statements in the final version // todo: The final implementation of exit on failure has to be well defined + mainService.requestVerificationService.failExecutionVerification( + request.packetType, true, 1, 1, 10, 6); std::cout << "We encountered a problem validating CRC!" << std::endl; continue; // Continue to the next command } @@ -172,6 +174,7 @@ void MemoryManagementService::RawDataMemoryManagement::checkRawData(Message &req } } + mainService.storeMessage(report); // Save the report message request.resetRead(); // Reset the reading count } else {