Skip to content

Commit 82663fb

Browse files
committed
Extend error tracking in CMVToVectorSpec.cxx
1 parent 3ead34a commit 82663fb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Detectors/TPC/workflow/src/CMVToVectorSpec.cxx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,9 @@ class CMVToVectorDevice : public o2::framework::Task
157157
auto& infoVec = mCMVInfos[cruID];
158158

159159
if (size != sizeof(cmv::Container)) {
160-
LOGP(error, "CMV packet size mismatch: got {} bytes, expected {} bytes (sizeof cmv::Container). Skipping package.", size, sizeof(cmv::Container));
161-
return;
160+
// LOGP(error, "CMV packet size mismatch: got {} bytes, expected {} bytes (sizeof cmv::Container). Skipping package.", size, sizeof(cmv::Container));
161+
hasErrors = true;
162+
continue;
162163
}
163164
auto data = it.data();
164165
auto& cmvs = *((cmv::Container*)(data));
@@ -283,11 +284,11 @@ class CMVToVectorDevice : public o2::framework::Task
283284
const auto& infVec = mCMVInfos[cru];
284285

285286
if (infVec.size() != 4) {
286-
LOGP(warning, "CRU {:3}: expected 4 packets per TF, got {}", cru, infVec.size());
287+
// LOGP(error, "CRU {:3}: expected 4 packets per TF, got {}", cru, infVec.size());
287288
hasErrors = true;
288289
}
289290
if (cmvVec.size() != cmv::NTimeBinsPerPacket * infVec.size()) {
290-
LOGP(warning, "CRU {:3}: vector size {} does not match expected {}", cru, cmvVec.size(), cmv::NTimeBinsPerPacket * infVec.size());
291+
// LOGP(error, "CRU {:3}: vector size {} does not match expected {}", cru, cmvVec.size(), cmv::NTimeBinsPerPacket * infVec.size());
291292
hasErrors = true;
292293
}
293294

0 commit comments

Comments
 (0)