Clearer fatal message.
authorrgrosso <Raffaele.Grosso@cern.ch>
Mon, 2 Feb 2015 14:29:59 +0000 (15:29 +0100)
committerrgrosso <Raffaele.Grosso@cern.ch>
Mon, 2 Feb 2015 14:29:59 +0000 (15:29 +0100)
STEER/STEER/AliReconstruction.cxx

index 2ddfa1b..1fd3356 100644 (file)
@@ -822,9 +822,9 @@ void AliReconstruction::InitCDB()
 
 //_____________________________________________________________________________
 void AliReconstruction::SetCDBSnapshotMode(const char* snapshotFileName) {
-    fCDBSnapshotMode = kTRUE;
     if (!AliCDBManager::Instance()->SetSnapshotMode(snapshotFileName))
-      AliFatal("OCDB snapshot setting failed");
+      AliFatal("Setting CDB snapshot mode failed.");
+    fCDBSnapshotMode = kTRUE;
 }
 
 //_____________________________________________________________________________