mirror of https://github.com/skygpu/skynet.git
Add more logging in case wrong config param
parent
15c49ca9a0
commit
edc4924ef8
|
@ -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'])
|
conn, user, req.params['attr'], req.params['val'])
|
||||||
logging.info('done')
|
logging.info('done')
|
||||||
|
|
||||||
|
else:
|
||||||
|
logging.warning(f'{req.params["attr"]} not in {CONFIG_ATTRS}')
|
||||||
|
|
||||||
case 'stats':
|
case 'stats':
|
||||||
logging.info('stats')
|
logging.info('stats')
|
||||||
generated, joined, role = await get_user_stats(conn, user)
|
generated, joined, role = await get_user_stats(conn, user)
|
||||||
|
|
Loading…
Reference in New Issue