Skip to content
Snippets Groups Projects
Commit 242776c3 authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'fix-unchecked-sc-in-TypeProxy' into 'master'

fixed unchecked status code in TypeProxy

See merge request atlas/athena!22795
parents 80e5e8e6 b7bcb081
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment