diff --git a/Trigger/TrigEvent/TrigNavigation/TrigNavigation/TypeProxy.h b/Trigger/TrigEvent/TrigNavigation/TrigNavigation/TypeProxy.h index 10e7b630ffb6662446ccb712f5fa5b0fa6ea882e..a27f4f9dda62e4d659d4772f4f320876ee0247af 100644 --- a/Trigger/TrigEvent/TrigNavigation/TrigNavigation/TypeProxy.h +++ b/Trigger/TrigEvent/TrigNavigation/TrigNavigation/TypeProxy.h @@ -130,8 +130,8 @@ namespace HLTNavDetails { virtual StatusCode sync( StoreGateSvc* sg, const std::string& key ){ REPORT_MESSAGE( MSG::INFO ) << "syncing a read-only Aux proxy with key " << key << endmsg; const SG::IAuxStore* aux = nullptr; - sg->retrieve(aux,key); - if(!aux){ + StatusCode sc = sg->retrieve(aux,key); + if(!aux or sc.isFailure() ){ REPORT_MESSAGE( MSG::ERROR ) << "syncing of read-only Aux proxy failed" << key << endmsg; return StatusCode::FAILURE; }