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