]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
corrected confusing error message
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Sep 2007 07:35:59 +0000 (07:35 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Sep 2007 07:35:59 +0000 (07:35 +0000)
HLT/BASE/AliHLTConfiguration.cxx

index c7dda4838d6dd25bcf3d3263772e5fda82a74974..543b089ac9411b34607d8f6b6999fdfb548a8dfb 100644 (file)
@@ -821,10 +821,11 @@ int AliHLTTask::ProcessTask(Int_t eventNo)
          fBlockDataArray.resize(iSourceDataBlock+iMatchingDB, init);
        } else {
          if (iMatchingDB<0) {
-           HLTError("task %s (%p): error getting no of matching data blocks from task %s (%p)", GetName(), this, pSrcTask->GetName(), pSrcTask);
+           HLTError("task %s (%p): error getting no of matching data blocks from task %s (%p), error %d", GetName(), this, pSrcTask->GetName(), pSrcTask, iMatchingDB);
            iResult=iMatchingDB;
-         } else {
-           HLTError("task %s (%p): block data array too small to get blocks from task %s (%p)", GetName(), this, pSrcTask->GetName(), pSrcTask);
+           break;
+         } else if (iMatchingDB==0) {
+           HLTDebug("source task %s (%p) does not provide any matching data type for task %s (%p)", pSrcTask->GetName(), pSrcTask, GetName(), this);
          }
        }
        if ((iResult=pSrcTask->Subscribe(this, &fBlockDataArray[iSourceDataBlock],fBlockDataArray.size()-iSourceDataBlock))>0) {