Skip to content

Commit 065e88d

Browse files
committed
fixed RDH error log missing details
1 parent abd22fd commit 065e88d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReadoutEquipment.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,12 +953,12 @@ int ReadoutEquipment::processRdh(DataBlockContainerReference& block)
953953
printf("\n");
954954
printf("Page 0x%p + %ld\n%s\n", (void*)baseAddress, pageOffset, errorDescription.c_str());
955955
h.dumpRdh(pageOffset, 1);
956-
errorDescription.clear();
957956
}
958957
statsRdhCheckErr++;
959958
isPageError = 1;
960959
theLog.log(logRdhErrorsToken, "Equipment %d RDH %d @ 0x%X : invalid RDH: %s", id, rdhIndexInPage, (unsigned int)pageOffset, errorDescription.c_str());
961960
// stop on first RDH error (should distinguich valid/invalid block length)
961+
errorDescription.clear();
962962
break;
963963
} else {
964964
statsRdhCheckOk++;

0 commit comments

Comments
 (0)