MM2: Imporoved some logging and error checking.
This commit is contained in:
parent
a3b6d0259c
commit
c7cf687e66
2 changed files with 8 additions and 0 deletions
|
@ -57,4 +57,7 @@ class EventContractor(Loggable):
|
|||
|
||||
def __unregister(self, evt):
|
||||
try: del self.store[evt.path]
|
||||
except KeyError as e:
|
||||
self.logger.info("Contractor failed to unrecord event: '%s'" \
|
||||
% evt.path)
|
||||
except Exception as e: self.unexpected_exception(e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue