Skip to content
Snippets Groups Projects
Commit 40d923e6 authored by Ramin Yaghoubzadeh's avatar Ramin Yaghoubzadeh
Browse files

Replaced retraction NotFound exception with a warning for the time being

parent 58dd8a56
No related branches found
No related tags found
No related merge requests found
......@@ -470,7 +470,10 @@ Informer<AnyType>::Ptr OutputBuffer::_get_informer(const std::string& category)
boost::shared_ptr<IU> OutputBuffer::remove(const std::string& iu_uid)
{
IUStore::iterator it = _iu_store.find(iu_uid);
if (it == _iu_store.end()) throw IUNotFoundError();
if (it == _iu_store.end()) {
IPAACA_WARNING("Removal of IU " << iu_uid << " requested, but not present in our OutputBuffer")
//throw IUNotFoundError();
}
IU::ptr iu = it->second;
_retract_iu(iu);
_iu_store.erase(iu_uid);
......
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