log misunderstood network commands

This commit is contained in:
Fabian Dill
2021-02-21 23:54:08 +01:00
parent cbbdb2948d
commit fe17fc6320
2 changed files with 14 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ import subprocess
import base64
import re
import shutil
from json import loads, dumps
from random import randrange
@@ -808,7 +809,11 @@ def convert_unknown_missing(missing_items: list) -> list:
async def process_server_cmd(ctx: Context, args: dict):
cmd = args["cmd"]
try:
cmd = args["cmd"]
except:
logger.exception(f"Could not get command from {args}")
raise
if cmd == 'RoomInfo':
logger.info('--------------------------------')
logger.info('Room Information:')