some tweaks for error handling code
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
This commit is contained in:
parent
4af406b294
commit
2b841d2f37
@ -23,19 +23,18 @@ ReturnValue_t PusLiveDemux::demultiplexPackets(StorageManagerIF& tmStore,
|
||||
} else if (result == StorageManagerIF::DATA_STORAGE_FULL) {
|
||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||
sif::error << "PusLiveDemux::handlePacket: Store too full to create data copy" << std::endl;
|
||||
uint8_t fillCounts[10];
|
||||
uint8_t fillCounts[16];
|
||||
uint8_t written = 0;
|
||||
tmStore.getFillCount(fillCounts, &written);
|
||||
sif::error << "Fill counts: ";
|
||||
sif::error << "Fill counts: [";
|
||||
for (uint8_t fillIdx = 0; fillIdx < written; fillIdx++) {
|
||||
sif::error << fillCounts[fillIdx];
|
||||
if (fillIdx < written - 1) {
|
||||
sif::error << ", ";
|
||||
}
|
||||
}
|
||||
sif::error << std::endl;
|
||||
sif::error << "]" << std::endl;
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
} else {
|
||||
message.setStorageId(origStoreId);
|
||||
|
Loading…
Reference in New Issue
Block a user