1) Make BasePhoneBook not quite so zealous about throwing exceptions when things didn't line up exactly as it thought they should.

This commit is contained in:
Eric Tschetter 2013-02-03 11:02:38 -06:00
parent 34b4383934
commit f4e843c8dc
1 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,8 @@ class StoppedPhoneBook implements PhoneBook
}
if (! serviceAnnouncements.containsKey(nodeName)) {
throw new IAE("Cannot unannounce node[%s] on service[%s]", nodeName, serviceName);
log.warn("Cannot unannounce[%s]: it doesn't exist for service[%s]", nodeName, serviceName);
return;
}
serviceAnnouncements.remove(nodeName);