Skip to content

Commit 04a78c5

Browse files
tmadlenerjmcarcell
authored andcommitted
Remove unnecessary error message
1 parent 0aafbc9 commit 04a78c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

k4MarlinWrapper/src/components/StoreUtils.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,12 @@ k4MarlinWrapper::GlobalConvertedObjectsMap& getGlobalObjectMap(AlgTool* thisTool
105105
DataObject* obj = nullptr;
106106
auto sc = thisTool->evtSvc()->retrieveObject(k4MarlinWrapper::GlobalConvertedObjectsMap::TESpath.data(), obj);
107107
if (sc.isFailure()) {
108-
thisTool->debug() << "Creating GlobalconvertedObjectsMap for this event since it is not already in the EventStore"
108+
thisTool->debug() << "Creating GlobalConvertedObjectsMap for this event since it is not already in the EventStore"
109109
<< endmsg;
110110
auto globalObjMapWrapper = new AnyDataWrapper(k4MarlinWrapper::GlobalConvertedObjectsMap{});
111111
auto nsc = thisTool->evtSvc()->registerObject(k4MarlinWrapper::GlobalConvertedObjectsMap::TESpath.data(),
112112
globalObjMapWrapper);
113113
if (nsc.isFailure()) {
114-
thisTool->error() << "Could not register GlobalConvertedObjectsMap in the EventStore" << endmsg;
115114
throw std::runtime_error("Could not register GlobalConvertedObjectsMap in the EventStore");
116115
}
117116
obj = globalObjMapWrapper;

0 commit comments

Comments
 (0)