From e31309788542d58951cd3709ae61d0e60313b7ac Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Wed, 2 Apr 2025 13:16:35 +0200 Subject: [PATCH] DPL: Improve debug message for missing runNumber. --- Framework/Core/src/ExternalFairMQDeviceProxy.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Framework/Core/src/ExternalFairMQDeviceProxy.cxx b/Framework/Core/src/ExternalFairMQDeviceProxy.cxx index 52e0413d48dab..449beb0cb8c0b 100644 --- a/Framework/Core/src/ExternalFairMQDeviceProxy.cxx +++ b/Framework/Core/src/ExternalFairMQDeviceProxy.cxx @@ -528,7 +528,9 @@ InjectorFunction dplModelAdaptor(std::vector const& filterSpecs, DPL timingInfo.tfCounter = dh->tfCounter; LOG(debug) << msgidx << ": " << DataSpecUtils::describe(OutputSpec{dh->dataOrigin, dh->dataDescription, dh->subSpecification}) << " part " << dh->splitPayloadIndex << " of " << dh->splitPayloadParts << " payload " << parts.At(msgidx + 1)->GetSize(); if (dh->runNumber == 0 || dh->tfCounter == 0 || (fmqRunNumber > 0 && fmqRunNumber != dh->runNumber)) { - LOG(error) << "INVALID runNumber / tfCounter: runNumber " << dh->runNumber << ", tfCounter " << dh->tfCounter << ", FMQ runNumber " << fmqRunNumber; + LOG(error) << "INVALID runNumber / tfCounter: runNumber " << dh->runNumber + << ", tfCounter " << dh->tfCounter << ", FMQ runNumber " << fmqRunNumber + << " for msgidx " << msgidx << ": " << DataSpecUtils::describe(OutputSpec{dh->dataOrigin, dh->dataDescription, dh->subSpecification}) << " part " << dh->splitPayloadIndex << " of " << dh->splitPayloadParts << " payload " << parts.At(msgidx + 1)->GetSize(); } OutputSpec query{dh->dataOrigin, dh->dataDescription, dh->subSpecification};