From edc4924ef8e48107a774ed4a4e15a5117257ce88 Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Date: Wed, 18 Jan 2023 07:44:46 -0300 Subject: [PATCH] Add more logging in case wrong config param --- skynet/brain.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/skynet/brain.py b/skynet/brain.py index e80fc93..c442ba5 100644 --- a/skynet/brain.py +++ b/skynet/brain.py @@ -316,6 +316,9 @@ async def open_rpc_service(sock, dgpu_bus, db_pool, tls_whitelist, tls_key): conn, user, req.params['attr'], req.params['val']) logging.info('done') + else: + logging.warning(f'{req.params["attr"]} not in {CONFIG_ATTRS}') + case 'stats': logging.info('stats') generated, joined, role = await get_user_stats(conn, user)