Error message, consistent return value (Zubayer)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 May 2007 14:13:04 +0000 (14:13 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 May 2007 14:13:04 +0000 (14:13 +0000)
PMD/AliPMDPreprocessor.cxx

index 6eac322..e99d2bb 100644 (file)
@@ -120,6 +120,14 @@ UInt_t AliPMDPreprocessor::Process(TMap* pdaqAliasMap)
   result = Store("Calib","Data", calibda, &metaData);
 
  delete calibda;
- return result;
+if(result==0)
+      { Log("Error storing");                        
+        return 1;
+ }
+ else
+ {
+        return 0;
+ }
+
 }