]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 6eac322a9a386c0a85da622016311721d2a656d6..e99d2bb42c132c3de3c5c94a08b6ebc81a798114 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;
+ }
+
 }