commit 80ffc89f88a43f009bda0b07139b388f9598d3b7 Author: Sebastian Hahn sebastian@torproject.org Date: Thu Nov 17 19:12:12 2011 +0100
Log when we can't get a descriptor in new_desc_event() --- controller.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/controller.py b/controller.py index 826fe6e..42c440f 100644 --- a/controller.py +++ b/controller.py @@ -652,6 +652,9 @@ class Controller(TorCtl.EventHandler): # Notify scheduler that a new router is available for testing. if self.scheduler: self.scheduler.new_descriptor(router) + else: + log.warn("Couldn't get descriptor for router with id %s", + rid) except TorCtl.ErrorReply, e: log.error("NEWDESC: Controller error: %s", str(e))
tor-commits@lists.torproject.org