mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
correct webuidata log to debug level
This commit is contained in:
@@ -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')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user