[Core] Fix double alert messages

This commit is contained in:
Calum Lind 2017-01-18 12:30:30 +00:00
parent d1dd35d4b1
commit 2321f32f84
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class AlertManager(component.Component):
if alert_type in self.handlers: if alert_type in self.handlers:
for handler in self.handlers[alert_type]: for handler in self.handlers[alert_type]:
if log.isEnabledFor(logging.DEBUG): if log.isEnabledFor(logging.DEBUG):
log.debug('alert %s: %s', alert_type, decode_string(alert.message())) log.debug('Handling alert: %s', alert_type)
self.delayed_calls.append(reactor.callLater(0, handler, alert)) self.delayed_calls.append(reactor.callLater(0, handler, alert))
def set_alert_queue_size(self, queue_size): def set_alert_queue_size(self, queue_size):