From b7bcb081e22b96339ed0da6293d4590e42d9d53c Mon Sep 17 00:00:00 2001 From: Tomasz Bold <tomasz.bold@gmail.com> Date: Thu, 18 Apr 2019 11:49:23 +0200 Subject: [PATCH] fixed unchecked status code in TypeProxy --- Trigger/TrigEvent/TrigNavigation/TrigNavigation/TypeProxy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Trigger/TrigEvent/TrigNavigation/TrigNavigation/TypeProxy.h b/Trigger/TrigEvent/TrigNavigation/TrigNavigation/TypeProxy.h index 10e7b630ffb..a27f4f9dda6 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; } -- GitLab