Hot fix for KeyError exception
@@ -1312,6 +1312,8 @@ class Node(HasActionQueue, Motor, Propagator, MessageProcessor, HasFileStorage,
*reqKey,
self.reasonForClientFromException(
message.reason))
+ # TODO: What the case when reqKey will be not in requestSender dict
+ if reqKey in self.requestSender:
self.transmitToClient(reject, self.requestSender[reqKey])
self.doneProcessingReq(*reqKey)
elif isinstance(message, Exception):
