fix logging
This commit is contained in:
parent
42c3f38f35
commit
59da96fc7b
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class Handler(WebSocketHandler):
|
||||||
|
|
||||||
def trigger_event(event, data):
|
def trigger_event(event, data):
|
||||||
if len(state.websockets):
|
if len(state.websockets):
|
||||||
logger.debug('trigger event %s %s', event, data, len(state.websockets))
|
logger.debug('trigger event %s %s %s', event, data, len(state.websockets))
|
||||||
for ws in state.websockets:
|
for ws in state.websockets:
|
||||||
try:
|
try:
|
||||||
ws.post([event, data])
|
ws.post([event, data])
|
||||||
|
|
Loading…
Reference in a new issue