diff --git a/Hlt/HltServices/src/GitANNSvc.cpp b/Hlt/HltServices/src/GitANNSvc.cpp index cb8e12e17d1bd182b34bb41719e18fb65cdfb929..ab06e384d1b4fe4e690dd197524f24f3c466618b 100644 --- a/Hlt/HltServices/src/GitANNSvc.cpp +++ b/Hlt/HltServices/src/GitANNSvc.cpp @@ -163,7 +163,7 @@ class GitANNSvc : public ANNSvcBase { } std::optional<nlohmann::json> fetch_lumi_json( unsigned int key ) const { - if ( auto io = m_lumi_key2JSON.find( key ); io != m_key2JSON.end() ) { + if ( auto io = m_lumi_key2JSON.find( key ); io != m_lumi_key2JSON.end() ) { warning() << "lumi key " << fmt::format( "0x{:08x}", key ) << " has an explicitly configured overrule -- using that..." << endmsg; auto json = nlohmann::json::parse( io->second, nullptr, false ); @@ -189,7 +189,7 @@ class GitANNSvc : public ANNSvcBase { if ( !json ) throw GaudiException( fmt::format( "unable to obtain json for key {:08x} from repositories {}", key, Gaudi::Utils::toString( m_repo.value() ) ), - "GitANNSvc::fetch", StatusCode::FAILURE ); + "GitANNSvc::fetch_lumi", StatusCode::FAILURE ); auto vs = json->find( "version" ); if ( vs == json->end() || vs->template get<unsigned>() != version ) { // must have correct version!!!)