##// END OF EJS Templates
soften messages for monitor messages with bad topics
MinRK -
Show More
@@ -468,13 +468,13 b' class Hub(SessionFactory):'
468 468 except ValueError:
469 469 idents=[]
470 470 if not idents:
471 self.log.error("Bad Monitor Message: %r", msg)
471 self.log.error("Monitor message without topic: %r", msg)
472 472 return
473 473 handler = self.monitor_handlers.get(switch, None)
474 474 if handler is not None:
475 475 handler(idents, msg)
476 476 else:
477 self.log.error("Invalid monitor topic: %r", switch)
477 self.log.error("Unrecognized monitor topic: %r", switch)
478 478
479 479
480 480 @util.log_errors
General Comments 0
You need to be logged in to leave comments. Login now