From 4e5eb7d197c6dcdbbd4a46b07ac48a54680337a4 2012-05-13 22:09:40 From: MinRK Date: 2012-05-13 22:09:40 Subject: [PATCH] soften messages for monitor messages with bad topics --- diff --git a/IPython/parallel/controller/hub.py b/IPython/parallel/controller/hub.py index 259b0ea..622dff8 100644 --- a/IPython/parallel/controller/hub.py +++ b/IPython/parallel/controller/hub.py @@ -468,13 +468,13 @@ class Hub(SessionFactory): except ValueError: idents=[] if not idents: - self.log.error("Bad Monitor Message: %r", msg) + self.log.error("Monitor message without topic: %r", msg) return handler = self.monitor_handlers.get(switch, None) if handler is not None: handler(idents, msg) else: - self.log.error("Invalid monitor topic: %r", switch) + self.log.error("Unrecognized monitor topic: %r", switch) @util.log_errors