Adding protection against AliFatal for SHUTTLE
authorzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 3 Feb 2010 21:37:09 +0000 (21:37 +0000)
committerzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 3 Feb 2010 21:37:09 +0000 (21:37 +0000)
STEER/AliCDBStorage.cxx

index d283a56..94fae76 100644 (file)
@@ -233,8 +233,14 @@ AliCDBEntry* AliCDBStorage::Get(const AliCDBId& query) {
                        AliDebug(2, Form("CDB object retrieved: %s", entry->GetId().ToString().Data()));
        } else {
                // this is to make the SHUTTLE output lighter
-               if(!(query.GetPath().Contains("SHUTTLE/STATUS")))
-                       AliFatal(Form("No valid CDB object found! request was: %s", query.ToString().Data()));
+               if(!(query.GetPath().Contains("SHUTTLE/STATUS"))){
+
+                       if(!(query.GetPath().Contains("SHUTTLE"))){
+                               AliFatal(Form("No valid CDB object found! request was: %s", query.ToString().Data()));
+                       }
+                       else {
+                               AliInfo(Form("No valid CDB object found! request was: %s", query.ToString().Data()));
+                       }
        }
 
        // if drain storage is set, drain entry into drain storage