From 7bb1fc7d14af9fb496546c1535ddff89d6adc937 Mon Sep 17 00:00:00 2001 From: Scott Snyder <scott.snyder@cern.ch> Date: Thu, 1 Oct 2020 12:35:42 +0000 Subject: [PATCH] SGComps: Demote WARNING to DEBUG. SGInputLoader prints a warning if it's asked to load something that's in a store other than the event store. But this can happen normally if a handle is used to read objects in the detector store, so demote this WARNING to DEBUG. --- Control/SGComps/src/SGInputLoader.cxx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Control/SGComps/src/SGInputLoader.cxx b/Control/SGComps/src/SGInputLoader.cxx index 8e277cc5df3..b6c5cd64fff 100644 --- a/Control/SGComps/src/SGInputLoader.cxx +++ b/Control/SGComps/src/SGInputLoader.cxx @@ -1,7 +1,7 @@ ///////////////////////// -*- C++ -*- ///////////////////////////// /* - Copyright (C) 2002-2017, 2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2017, 2019, 2020 CERN for the benefit of the ATLAS collaboration */ // SGInputLoader.cxx @@ -114,8 +114,14 @@ SGInputLoader::execute() SG::VarHandleKey vhk(obj->clid(),obj->key(),Gaudi::DataHandle::Writer); if (StoreID::findStoreID(vhk.storeHandle().name()) == StoreID::EVENT_STORE) { toLoad.emplace(*obj); - } else { - ATH_MSG_WARNING("Will not auto-load proxy for non-EventStore object: " + } + else if (StoreID::findStoreID(vhk.storeHandle().name()) == StoreID::CONDITION_STORE) { + ATH_MSG_ERROR("Unresolved conditions dependency: " + << *obj); + return StatusCode::FAILURE; + } + else { + ATH_MSG_DEBUG("Will not auto-load proxy for non-EventStore object: " << *obj); } } -- GitLab