correct webuidata log to debug level

This commit is contained in:
Fabian Dill
2020-06-08 18:21:04 +02:00
parent ccf418a614
commit 9612e27531

View File

@@ -1212,7 +1212,7 @@ async def websocket_server(websocket: websockets.WebSocketServerProtocol, path,
async for incoming_data in websocket: async for incoming_data in websocket:
try: try:
data = json.loads(incoming_data) data = json.loads(incoming_data)
logging.info(f"WebUIData:{data}") logging.debug(f"WebUIData:{data}")
if ('type' not in data) or ('content' not in data): if ('type' not in data) or ('content' not in data):
raise Exception('Invalid data received in websocket') raise Exception('Invalid data received in websocket')