From 40d923e6e255f83e7d57084697765569d511fa7b Mon Sep 17 00:00:00 2001 From: Ramin Yaghoubzadeh <ryaghoub@techfak.uni-bielefeld.de> Date: Thu, 20 Sep 2012 16:07:53 +0200 Subject: [PATCH] Replaced retraction NotFound exception with a warning for the time being --- ipaacalib/cpp/src/ipaaca.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ipaacalib/cpp/src/ipaaca.cc b/ipaacalib/cpp/src/ipaaca.cc index 3965f03..d92e9f1 100644 --- a/ipaacalib/cpp/src/ipaaca.cc +++ b/ipaacalib/cpp/src/ipaaca.cc @@ -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); -- GitLab