Skip to content
Snippets Groups Projects
Commit b7bcb081 authored by Tomasz Bold's avatar Tomasz Bold
Browse files

fixed unchecked status code in TypeProxy

parent 421c8372
No related branches found
No related tags found
No related merge requests found
...@@ -130,8 +130,8 @@ namespace HLTNavDetails { ...@@ -130,8 +130,8 @@ namespace HLTNavDetails {
virtual StatusCode sync( StoreGateSvc* sg, const std::string& key ){ virtual StatusCode sync( StoreGateSvc* sg, const std::string& key ){
REPORT_MESSAGE( MSG::INFO ) << "syncing a read-only Aux proxy with key " << key << endmsg; REPORT_MESSAGE( MSG::INFO ) << "syncing a read-only Aux proxy with key " << key << endmsg;
const SG::IAuxStore* aux = nullptr; const SG::IAuxStore* aux = nullptr;
sg->retrieve(aux,key); StatusCode sc = sg->retrieve(aux,key);
if(!aux){ if(!aux or sc.isFailure() ){
REPORT_MESSAGE( MSG::ERROR ) << "syncing of read-only Aux proxy failed" << key << endmsg; REPORT_MESSAGE( MSG::ERROR ) << "syncing of read-only Aux proxy failed" << key << endmsg;
return StatusCode::FAILURE; 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